RE: [PHP] separate php.ini files

2001-03-15 Thread Mark Roedel

> -Original Message-
> From: Kevin Porter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] separate php.ini files
> 
> 
> I need to build two copies of a website on one machine - one 
> for development and one for a backup. I want to be able to use
> different php.ini files with each copy of the site. Can I do
> this without compiling two Apache/PHP excutables? ie can it be
> done with virtual hosting somehow or by any other means?

You can only have one php.ini for each instance of PHP.

However

You can also control the PHP settings for each copy of the site by using
php configuration directives in the relevant sections of your
httpd.conf.


---
Mark Roedel   | "I know the answer!  The answer lies within the
Systems Programmer|  heart of all mankind!  The answer is twelve?!?
LeTourneau University |  I think I'm in the wrong building."
Longview, Texas, USA  |   -- Peppermint Patty (Charles Schultz) 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] separate php.ini files

2001-03-15 Thread Johnson, Kirk

We just started doing this using Apache's virtual hosting and .htaccess
files to alter php.ini's configuration settings on a per application basis.
Haven't played with it much yet, tho. Looks good so far.

> -Original Message-
> From: Kevin Porter [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] separate php.ini files
> 
> 
> Hi,
> 
> I need to build two copies of a website on one machine - one 
> for development
> and one for a backup. I want to be able to use different 
> php.ini files with
> each copy of the site. Can I do this without compiling two Apache/PHP
> excutables? ie can it be done with virtual hosting somehow or 
> by any other
> means?
> 
> thanks,
> 
> - Kev
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]