[PHP] Specify php.ini per virtual host?
Is it possible to specify a different php.ini file for each virtual host? I know that that -c altphp.ini syntax on the end of the commandline will switch it, however, that doesn't exactly work like I'd hoped in Apache's configuration. I'd like a solution that worked with either the CGI or module version. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Specify php.ini per virtual host?
You can use the php_admin_value in your virtual host. For example: php_admin_value safe_mode 0 This will turn safe mode off for that virtual host. Hope this helps, Harry __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php