ID: 19368 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Documentation problem Operating System: FreeBSD 4.1.1-RELEASE PHP Version: 4.2.3 New Comment:
Thank you very much for your help. PHP - the best of the best! Previous Comments: ------------------------------------------------------------------------ [2002-09-12 03:36:13] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-09-12 03:31:56] [EMAIL PROTECTED] Yes, I already fixed that .. but it takes awhile before the manuel on the site updates. Derick ------------------------------------------------------------------------ [2002-09-12 02:36:24] [EMAIL PROTECTED] > See: http://www.php.net/manual/sv/print/function.ini-set.php#AEN68028 PHP_INI_PERDIR 2 Entry can be set in .htaccess PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf I think: - It means PHP_INI_PERDIR can be set in .htaccess (to change this - I don't need restart server) - And PHP_INI_SYSTEM can be set in httpd.conf (to change - I MUST restart server, even I change in VHOST). Maybe you rewrite doc section: "PHP_INI_PERDIR - means .htaccess AND VIRTUALHOST." Thank you. ------------------------------------------------------------------------ [2002-09-12 02:17:59] [EMAIL PROTECTED] You can't set those from VHost configurations, only from the main httpd.conf or php.ini files. See: http://www.php.net/manual/sv/print/function.ini-set.php#AEN68028 It says: disable_functions PHP_INI_SYSTEM, which means that it's only settable from "system" files (ie. php.ini or the main httpd.conf). If it would have included "PER_DIR" then it would have been settable per VHost and from a .htaccess file. Derick ------------------------------------------------------------------------ [2002-09-12 02:13:33] [EMAIL PROTECTED] php.ini: disable_functions = exec,passthru,proc_close,proc_open,shell_exec,system httpd.conf (<VirtualHost>): php_admin_value disable_functions phpinfo,exec,passthru,proc_close,proc_open,shell_exec,system And in this virtual host phpinfo - works. I don't know, may be it is not bug, but feature. Help me please. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19368&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php