PDA

View Full Version : Intstalling PHP on Apche



dmbtech
June 5th, 2002, 15:10
I am having problems installing PHP on apche. I downloaded all the files and added:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe" to the onfig file and it is not working at all. Somone please give me a tutorial on how to do it with apache. I have the server all set up but just no php.

biggulp
June 5th, 2002, 21:35
doesn't the php distribution give you a readme?

hohoho
June 6th, 2002, 01:14
AddType application/x-httpd-php .php
This is one part of my php server. it's running on windows 98 lol and its working(perl & cgi's too) :D

You should add php to

<IfModule mod_dir.c> , so it shoul look like
<IfModule mod_dir.c>
DirectoryIndex index.html
DirectoryIndex index.php
</IfModule>
then it will automatically start index.php if you go to www.yourdomain.com without /index.php :D