diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2005-08-08 08:45:33 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2005-08-08 08:45:33 +0000 |
commit | 621238a3c3c156249cfb0efc5d54afb6274ab36d (patch) | |
tree | f05305ca88056cdae63c9c99b8caa2b0961c1c04 /sapi | |
parent | 9a469dadd5efefea349506dea90f817f8b02298e (diff) | |
download | php-git-621238a3c3c156249cfb0efc5d54afb6274ab36d.tar.gz |
fix extension loading from command line, resources didn't work
(still related to Bug #33899)
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 6fe4922e73..6f66ba61f9 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -438,7 +438,7 @@ static void define_command_line_ini_entry(char *arg TSRMLS_DC) if (!strcasecmp(name, "extension")) { /* load function module */ zval extension, zval; ZVAL_STRING(&extension, value, 0); - php_dl(&extension, MODULE_PERSISTENT, &zval TSRMLS_CC); + php_dl(&extension, MODULE_TEMPORARY, &zval TSRMLS_CC); } else { zend_alter_ini_entry(name, strlen(name)+1, value, strlen(value), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); } |