ID:               19368
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Bogus
+Status:           Assigned
-Bug Type:         *Web Server problem
+Bug Type:         Documentation problem
 Operating System: FreeBSD 4.1.1-RELEASE
 PHP Version:      4.2.3
-Assigned To:      
+Assigned To:      hholzgra


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to