Re: PHP Only directory

From: Date: Wed, 26 May 2004 10:19:51 +0000
Subject: Re: PHP Only directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186981@lists.php.net to get a copy of this message
Erik Meyer wrote:
Greetings, I am fairly new at this and I am going to create my first web server. I have installed PHP as the documentation says and the only question that I have is whether or not PHP can be configured on a single directory only, (example mydomain.com/php/). The server that I am running on is Red Hat Linux 9.
Yes it can. You can turn off the php engine globally, and only activate it in the directory that you want. php_flag engine 0 //Turn php off php_flag engine 1 //Turn php on http://www.php.net/configuration.changes http://www.php.net/manual/en/function.ini-set.php

« previous php.general (#186981) next »