Home
last modified time | relevance | path

Searched refs:extension_dir (Results 1 – 25 of 32) sorted by relevance

12

/php-src/ext/standard/
H A Ddl.c117 char *extension_dir; in php_load_extension() local
121 extension_dir = INI_STR("extension_dir"); in php_load_extension()
123 extension_dir = PG(extension_dir); in php_load_extension()
140 } else if (extension_dir && extension_dir[0]) { in php_load_extension()
141 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_extension()
144 spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ in php_load_extension()
146 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_extension()
158 …spprintf(&libpath, 0, "%s" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, filename); … in php_load_extension()
160 …spprintf(&libpath, 0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_S… in php_load_extension()
/php-src/ext/com_dotnet/tests/
H A Dbug77578.phpt10 $extension_dir = escapeshellarg(ini_get("extension_dir"));
16 $command = "$php -d extension_dir=$extension_dir -r \"$script\"";
/php-src/sapi/cli/tests/
H A Dext_loading.phpt5 $extDir = ini_get('extension_dir');
7 die('skip Opcache shared object not found in extension_dir');
16 '-dextension_dir=' . ini_get('extension_dir'),
32 $path = ini_get('extension_dir') . DIRECTORY_SEPARATOR . $name;
43 $path = ini_get('extension_dir') . DIRECTORY_SEPARATOR . $name;
H A D025.phpt2 CLI php -i extension_dir
15 var_dump(str_contains($output, "extension_dir => "));
H A Dbug80092.phpt9 $extDir = ini_get('extension_dir');
11 die ('skip opcache shared object not found in extension_dir');
19 '-dextension_dir=' . ini_get('extension_dir'),
/php-src/ext/opcache/tests/
H A Dpreload_user_004.phpt39 if (file_exists(ini_get('extension_dir').'/opcache.so')) {
40 $args[] = '-dzend_extension='.ini_get('extension_dir').'/opcache.so';
42 if (file_exists(ini_get('extension_dir').'/posix.so')) {
43 $args[] = '-dextension='.ini_get('extension_dir').'/posix.so';
H A Dpreload_user_005.phpt40 if (file_exists(ini_get('extension_dir').'/opcache.so')) {
41 $args[] = '-dzend_extension='.ini_get('extension_dir').'/opcache.so';
43 if (file_exists(ini_get('extension_dir').'/posix.so')) {
44 $args[] = '-dextension='.ini_get('extension_dir').'/posix.so';
H A Dissue0149.phpt26 if (file_exists(ini_get('extension_dir').'/phar.'.PHP_SHLIB_SUFFIX)) {
H A Dissue0115.phpt38 if (file_exists(ini_get('extension_dir').'/phar.'.PHP_SHLIB_SUFFIX)) {
/php-src/ext/dl_test/tests/
H A Dskip.inc7 $path = ini_get('extension_dir') . DIRECTORY_SEPARATOR . 'php_dl_test.dll';
9 $path = ini_get('extension_dir') . DIRECTORY_SEPARATOR . 'dl_test.so';
/php-src/scripts/
H A Dphp-config.in14 extension_dir="@EXTENSION_DIR@"
66 echo $extension_dir;;
97 --extension-dir [$extension_dir]
/php-src/ext/soap/tests/bugs/
H A Dbug49278.phpt18 $args = ["-d", "extension_dir=" . ini_get("extension_dir"), "-d", "extension=" . (substr(PHP_OS, 0,…
20 …// Necessary such that it works from a development directory in which case extension_dir might not…
H A Dbug51561.phpt17 $args = ["-d", "extension_dir=" . ini_get("extension_dir"), "-d", "extension=" . (substr(PHP_OS, 0,…
19 …// Necessary such that it works from a development directory in which case extension_dir might not…
/php-src/ext/soap/tests/
H A Dcustom_content_type.phpt16 $args = ["-d", "extension_dir=" . ini_get("extension_dir"), "-d", "extension=" . (substr(PHP_OS, 0,…
18 …// Necessary such that it works from a development directory in which case extension_dir might not…
H A Dbug73037.phpt62 $args = ["-d", "extension_dir=" . ini_get("extension_dir"), "-d", "extension=" . (substr(PHP_OS, 0,…
64 …// Necessary such that it works from a development directory in which case extension_dir might not…
/php-src/ext/sqlite3/
H A Dphp_sqlite3.h26 char *extension_dir;
H A Dsqlite3.c62 …STD_PHP_INI_ENTRY("sqlite3.extension_dir", NULL, PHP_INI_SYSTEM, OnUpdateString, extension_dir, z…
399 char *extension, *lib_path, *extension_dir, *errtext = NULL; in PHP_METHOD() local
419 if (!SQLITE3G(extension_dir)) { in PHP_METHOD()
429 extension_dir = SQLITE3G(extension_dir); in PHP_METHOD()
430 extension_dir_len = strlen(SQLITE3G(extension_dir)); in PHP_METHOD()
432 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in PHP_METHOD()
433 spprintf(&lib_path, 0, "%s%s", extension_dir, extension); in PHP_METHOD()
435 spprintf(&lib_path, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, extension); in PHP_METHOD()
446 if (strncmp(fullpath, extension_dir, extension_dir_len) != 0) { in PHP_METHOD()
/php-src/main/
H A Dphp_ini.c338 char *extension_dir = INI_STR("extension_dir"); in php_load_zend_extension_cb() local
342 if (extension_dir && extension_dir[0]) { in php_load_zend_extension_cb()
343 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_zend_extension_cb()
348 spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ in php_load_zend_extension_cb()
350 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_zend_extension_cb()
359 …spprintf(&libpath, 0, "%s" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, filename); … in php_load_zend_extension_cb()
361 …spprintf(&libpath, 0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_S… in php_load_zend_extension_cb()
H A Dphp_globals.h84 char *extension_dir; member
/php-src/ext/sqlite3/tests/
H A Dsqlite3_33_load_extension_param.phpt7 sqlite3.extension_dir="{TMP}"
H A Dsqlite3_22_loadextension.phpt14 sqlite3.extension_dir=.
/php-src/tests/basic/
H A Dbug71273.phpt7 …$cmd = getenv('TEST_PHP_EXECUTABLE_ESCAPED') . " -n -d html_errors=on -d extension_dir=a/�/w -d ex…
/php-src/tests/run-test/
H A Dextensions-shared.phpt11 $ext_module = ini_get('extension_dir') . DIRECTORY_SEPARATOR . (substr(PHP_OS, 0, 3) === "WIN" ? "p…
/php-src/
H A D.travis.yml86 - sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'
/php-src/sapi/phpdbg/
H A Dphpdbg_prompt.c1216 char *extension_dir; in phpdbg_load_module_or_extension() local
1218 extension_dir = INI_STR("extension_dir"); in phpdbg_load_module_or_extension()
1222 } else if (extension_dir && extension_dir[0]) { in phpdbg_load_module_or_extension()
1224 int extension_dir_len = strlen(extension_dir); in phpdbg_load_module_or_extension()
1225 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in phpdbg_load_module_or_extension()
1226 spprintf(&libpath, 0, "%s%s", extension_dir, *path); /* SAFE */ in phpdbg_load_module_or_extension()
1228 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, *path); /* SAFE */ in phpdbg_load_module_or_extension()

Completed in 46 milliseconds

12