On Feb 25, 2007, at 1:51 PM, Steve R Burrus wrote:
can anyone please tell me where the direcive goes in apache's httpd.conf file :# configure the path to php.ini PHPIniDir "C:/php"
It can go absolutely anywhere in the configuration file.
I am trying [again] to integrate apache with php and it is still not the most intuitive thing for me to do I must admit!
I do the following four things: LoadModule php5_module "d:/php-5.2.0/php5apache2_2.dll" PHPIniDir "d:/myApacheServer/conf" AddHandler php5-script php DirectoryIndex index.html index.htm index.phpThere should already be a DirectoryIndex directive in your configuration file, just add index.php to it if you want the index.php files to be considered for serving when the user requests a /directory/ on your server.
S. (wonder if we shouldn't include the AddHandler sample directives in the
default httpd.conf, commented out) -- sctemme@xxxxxxxxxx http://www.temme.net/sander/ Open Source Software Consultant PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF ApacheCon 2007 Europe Early Bird Rate extended through March 1! http://www.eu.apachecon.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature