php3-list | 200003
Date: 03/30/00
- Next message: Chris Kovalcik: "Re: [PHP3] A question"
- Previous message: .:..:..:...Modest 013.::...:..:..:: "Re: [PHP3] too complicated for a newbie?"
- In reply to: Matt McClanahan: "Re: [PHP3] Multiple configs??"
- Next in thread: Juergen Kaatz: "RE: [PHP3] Why PHP over Cold Fusion? Besides Price..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there..
What configuration commands would allow me to do this?
Does one simply say "PHP_INCLUDE_PATH=/some/directory/" ?? (or - where can I
find some docs on this) I didn't realise we had any control over PHP from
within the VirtualHosts....
I'm off to RTFM quickly just in case I've missed it in there..
Regards,
Matthew Clark.
>-----Original Message-----
>From: Matt McClanahan [mailto:cardinal <email protected>]
>Sent: 30 March 2000 21:10
>To: Matthew Clark
>Cc: php3 <email protected>
>Subject: Re: [PHP3] Multiple configs??
>
>
>On Thu, 30 Mar 2000, Matthew Clark wrote:
>
>> I would like to set up a "stage" version of our application for testing
>> before pushing the most recent releases live.... This copy of the system
>> resides in a completely separate location and therefore needs a different
>> php.ini file...
>>
>> Is there any way to do this..?? preferably without having
>multiple versions
>> of httpsd..
>
>I would suggest taking advantage of Apache's VirtualHosts. With them, you
>can alter virtually all PHP directives within the context of the virtual
>host. I use this extensively in my sites to localze PHP include paths so
>that only relevant directories are accessible from each VirtualHost. In
>some cases, I even use it to disable the PHP parser completely.
>
>Matt
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Kovalcik: "Re: [PHP3] A question"
- Previous message: .:..:..:...Modest 013.::...:..:..:: "Re: [PHP3] too complicated for a newbie?"
- In reply to: Matt McClanahan: "Re: [PHP3] Multiple configs??"
- Next in thread: Juergen Kaatz: "RE: [PHP3] Why PHP over Cold Fusion? Besides Price..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

