#27071 [Csd->Asn]: disable_* directives and PHP_INI_SYSTEM (but only php.ini)
| From: | philip@php.net | Date: | Wed, 28 Jan 2004 18:37:51 +0000 |
| Subject: | #27071 [Csd->Asn]: disable_* directives and PHP_INI_SYSTEM (but only php.ini) | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358516@lists.php.net to get a copy of this message | ||
ID: 27071
Updated by: philip@php.net
-Summary: open_basedir and PHP_INI_SYSTEM
Reported By: phpbug at humbapa dot ch
-Status: Closed
+Status: Assigned
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
-Assigned To:
+Assigned To: jmcastagnetto
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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