RE: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Timothy Hitchens \(HiTCHO\)
Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like: php_admin_value disable_functions 'ob_start' php_admin_value sendmail_path '/usr/sbin/sendmail -f [EMAIL PROTECTED] -t -i' Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED]

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Jean-Christian Imbeault
Timothy Hitchens ) wrote: Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like: Oops .. I forgot to mention that these two website do *not* have different IP addresses. Actually these are two testing website on my local LAN. What I have is to have a

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread John Nichel
I don't think you can load a different ini based on virtual host. However, you can override most php.ini values in either the httpd.conf or in a .htaccess file. I'm running about 10 vhosts on one box, all with the same IP, and I just use .htaccess, ie... php_value include_path

Re: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Jean-Christian Imbeault
Thanks to everyone for the suggestions. I finally got what I wanted by doing it a Directory directive in the httpd.conf file. Thanks again! Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php