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

From: Date: Mon, 20 Jan 2003 02:46:28 +0000
Subject: RE: [PHP] php.ini: how to load different ini file depending on host?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132201@lists.php.net to get a copy of this message
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 bouce@yourdomain.com -t -i' Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: tim@hitcho.com.au > -----Original Message----- > From: Jean-Christian Imbeault [mailto:jc@mega-bucks.co.jp] > Sent: Monday, 20 January 2003 12:28 PM > To: php-general@lists.php.net > Subject: [PHP] php.ini: how to load different ini file > depending on host? > > > On my web server (Apache) I have two sites and I would like > each site to > use a different php.ini. > > What is the correct way for me to have each site use it's own php.ini > file? I figure it's a setting in the apache conf file but I > can't figure > out which ... > > Thanks, > > Jc > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#132201) next »