403Webshell
Server IP : 172.67.216.182  /  Your IP : 162.158.171.28
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/php/82/src/ext/oci8/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/php/82/src/ext/oci8/config.w32
// vim:ft=javascript

if (PHP_OCI8_11G != "no" && PHP_OCI8_12C != "no") {
	if (!PHP_OCI8_11G_SHARED && !PHP_OCI8_12C_SHARED) {
		WARNING("oci8-11g and oci8-12c provide the same extension and cannot both be built statically");
		PHP_OCI8_11G = "no"
	}
}

if (PHP_OCI8_11G != "no" && PHP_OCI8_19 != "no") {
	if (!PHP_OCI8_11G_SHARED && !PHP_OCI8_19_SHARED) {
		WARNING("oci8-11g and oci8-19 provide the same extension and cannot both be built statically");
		PHP_OCI8_11G = "no"
	}
}

if (PHP_OCI8_12C != "no" && PHP_OCI8_19 != "no") {
	if (!PHP_OCI8_12C_SHARED && !PHP_OCI8_19_SHARED) {
		WARNING("oci8-12c and oci8-19 provide the same extension and cannot both be built statically");
		PHP_OCI8_12C = "no"
	}
}

ARG_WITH("oci8-11g", "OCI8 support using Oracle 11g Instant Client", "no");

if (PHP_OCI8_11G != "no") {

	oci8_11g_dirs = new Array(
		PHP_OCI8_11G
	);

	oci8_11g_lib_paths = "";
	oci8_11g_inc_paths = "";

	// find the Oracle install
	for (i = 0; i < oci8_11g_dirs.length; i++) {
		oci8_11g_lib_paths += oci8_11g_dirs[i] + "\\lib;";
		oci8_11g_lib_paths += oci8_11g_dirs[i] + "\\lib\\msvc;";
		oci8_11g_inc_paths += oci8_11g_dirs[i] + "\\include;";
	}

	oci8_11g_inc_paths += PHP_PHP_BUILD + "\\include\\instantclient_11;"
	oci8_11g_lib_paths += PHP_PHP_BUILD + "\\lib\\instantclient_11;";

	if (CHECK_HEADER_ADD_INCLUDE("oci.h", "CFLAGS_OCI8_11G", oci8_11g_inc_paths) &&
			CHECK_LIB("oci.lib", "oci8_11g", oci8_11g_lib_paths))
	{
		EXTENSION('oci8_11g', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_failover.c', null, null, null, "ext\\oci8_11g")

		AC_DEFINE('HAVE_OCI8', 1);
		AC_DEFINE('HAVE_OCI_INSTANT_CLIENT', 1);

	} else {
		WARNING("oci8-11g not enabled: Oracle Database client libraries or Oracle 11g Instant Client not found");
		PHP_OCI8_11G = "no"
	}
}

ARG_WITH("oci8-12c", "OCI8 support using Oracle Database 12c Instant Client", "no");

if (PHP_OCI8_12C != "no") {

	oci8_12c_dirs = new Array(
		PHP_OCI8_12C
	);

	oci8_12c_lib_paths = "";
	oci8_12c_inc_paths = "";

	// find the Oracle install
	for (i = 0; i < oci8_12c_dirs.length; i++) {
		oci8_12c_lib_paths += oci8_12c_dirs[i] + "\\lib;";
		oci8_12c_lib_paths += oci8_12c_dirs[i] + "\\lib\\msvc;";
		oci8_12c_inc_paths += oci8_12c_dirs[i] + "\\include;";
	}

	oci8_12c_inc_paths += PHP_PHP_BUILD + "\\include\\instantclient_12;"
	oci8_12c_lib_paths += PHP_PHP_BUILD + "\\lib\\instantclient_12;";

	if (CHECK_HEADER_ADD_INCLUDE("oci.h", "CFLAGS_OCI8_12C", oci8_12c_inc_paths) &&
			CHECK_LIB("oci.lib", "oci8_12c", oci8_12c_lib_paths))
	{
		EXTENSION('oci8_12c', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_failover.c', null, null, null, "ext\\oci8_12c")

		AC_DEFINE('HAVE_OCI8', 1);
		AC_DEFINE('HAVE_OCI_INSTANT_CLIENT', 1);
	} else {
		WARNING("oci8-12c not enabled: Oracle Database client libraries or Oracle Database 12c Instant Client not found");
		PHP_OCI8_12C = "no"
	}
}

ARG_WITH("oci8-19", "OCI8 support using Oracle Database 19 Instant Client", "no");

if (PHP_OCI8_19 != "no") {

	oci8_19_dirs = new Array(
		PHP_OCI8_19
	);

	oci8_19_lib_paths = "";
	oci8_19_inc_paths = "";

	// find the Oracle install
	for (i = 0; i < oci8_19_dirs.length; i++) {
		oci8_19_lib_paths += oci8_19_dirs[i] + "\\lib;";
		oci8_19_lib_paths += oci8_19_dirs[i] + "\\lib\\msvc;";
		oci8_19_inc_paths += oci8_19_dirs[i] + "\\include;";
	}

	oci8_19_inc_paths += PHP_PHP_BUILD + "\\include\\instantclient_19;"
	oci8_19_lib_paths += PHP_PHP_BUILD + "\\lib\\instantclient_19;";

	if (CHECK_HEADER_ADD_INCLUDE("oci.h", "CFLAGS_OCI8_19", oci8_19_inc_paths) &&
			CHECK_LIB("oci.lib", "oci8_19", oci8_19_lib_paths))
	{
		EXTENSION('oci8_19', 'oci8.c oci8_lob.c oci8_statement.c oci8_collection.c oci8_interface.c oci8_failover.c', null, null, null, "ext\\oci8_19")

		AC_DEFINE('HAVE_OCI8', 1);
		AC_DEFINE('HAVE_OCI_INSTANT_CLIENT', 1);
	} else {
		WARNING("oci8-19 not enabled: Oracle Database client libraries or Oracle Database 19 Instant Client not found");
		PHP_OCI8_19 = "no"
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit