#27071 [Asn->Csd]: disable_* directives and PHP_INI_SYSTEM (but only php.ini)
| From: | nlopess@php.net | Date: | Fri, 21 May 2004 13:56:26 +0000 |
| Subject: | #27071 [Asn->Csd]: disable_* directives and PHP_INI_SYSTEM (but only php.ini) | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969360762@lists.php.net to get a copy of this message | ||
ID: 27071
Updated by: nlopess@php.net
Reported By: phpbug at humbapa dot ch
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
Assigned To: jmcastagnetto
New Comment:
This is already fixed in my program and in the docs.
Previous Comments:
------------------------------------------------------------------------
[2004-01-28 13:37:50] philip@php.net
These two disable_ directives are documented in the safe-mode docs
(seen here):
http://www.php.net/manual/en/features.safe-mode.php
It's still listed as PHP_INI_SYSTEM but both include a note that only
php.ini applies. The ini_set() docs are autogenerated (in theory) so
any changes will at somepoint disappear. So I'm reopening this report
and assigning to jmcastagnetto as he's working on the new intelligent
ini_set() doc generation system (tm).
------------------------------------------------------------------------
[2004-01-28 10:36:02] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Note: disable_functions and disable_classes can only be changed in
php.ini file.
------------------------------------------------------------------------
[2004-01-28 06:39:21] phpbug at humbapa dot ch
Description:
------------
http://www.php.net/manual/en/function.ini-set.php
says that
open_basedir is changeable in PHP_INI_SYSTEM (Entry can be set in
php.ini or httpd.conf)
I set this up in httpd.conf:
<VirtualHost *:80>
...skip...
<Directory "/somedir">
...skip...
php_admin_value open_basedir "/somedir:/tmp"
</Directory>
</VirtualHost>
this works perfect for me
when I try to setup disable_functions (also PHP_INI_SYSTEM) the same
way, it does not work
I think one of them should have a note about that in:
http://www.php.net/manual/en/function.ini-set.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27071&edit=1