/php-src/ext/standard/ |
H A D | dl.c | 117 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 D | bug77578.phpt | 10 $extension_dir = escapeshellarg(ini_get("extension_dir")); 16 $command = "$php -d extension_dir=$extension_dir -r \"$script\"";
|
/php-src/sapi/cli/tests/ |
H A D | ext_loading.phpt | 5 $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 D | 025.phpt | 2 CLI php -i extension_dir 15 var_dump(str_contains($output, "extension_dir => "));
|
H A D | bug80092.phpt | 9 $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 D | preload_user_004.phpt | 39 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 D | preload_user_005.phpt | 40 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 D | issue0149.phpt | 26 if (file_exists(ini_get('extension_dir').'/phar.'.PHP_SHLIB_SUFFIX)) {
|
H A D | issue0115.phpt | 38 if (file_exists(ini_get('extension_dir').'/phar.'.PHP_SHLIB_SUFFIX)) {
|
/php-src/ext/dl_test/tests/ |
H A D | skip.inc | 7 $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 D | php-config.in | 14 extension_dir="@EXTENSION_DIR@" 66 echo $extension_dir;; 97 --extension-dir [$extension_dir]
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug49278.phpt | 18 $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 D | bug55639.phpt | 18 $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 D | bug73182.phpt | 16 $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 D | bug51561.phpt | 17 $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…
|
H A D | bug76232.phpt | 16 $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 D | bug73037.phpt | 62 $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/soap/tests/ |
H A D | custom_content_type.phpt | 16 $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…
|
/php-src/ext/sqlite3/ |
H A D | php_sqlite3.h | 26 char *extension_dir;
|
/php-src/main/ |
H A D | php_ini.c | 338 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 D | php_globals.h | 84 char *extension_dir; member
|
/php-src/tests/basic/ |
H A D | bug71273.phpt | 7 …$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 D | extensions-shared.phpt | 11 $ext_module = ini_get('extension_dir') . DIRECTORY_SEPARATOR . (substr(PHP_OS, 0, 3) === "WIN" ? "p…
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_33_load_extension_param.phpt | 7 sqlite3.extension_dir="{TMP}"
|
H A D | sqlite3_22_loadextension.phpt | 14 sqlite3.extension_dir=.
|