Forum Moderators: phranque
Ive seen similar threads to this one and attempted to fix my problem using them but still I cant get PHP to work with Apache. Basically Ive used this tutorial:
http://www.example.com/server/php.html
In my httpd.conf file Ive added to the bottom of the file like it says in the tutorial:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "c:/php"
and changed my document root to "c:/DocumentRoot", a new folder Ive created to put all my website docs in.
Ive also edited the php.ini file like suggested, changed the doc_root and extension_dir. To cut a long story short Ive followed the tutorial and I still get 404 errors when I run a test.php file. Im using the latest versions of PHP and Apache, and the OS Im using is XP. Any suggestions for a solution would be appreciated.
Thanks,
Ross
[edited by: jdMorgan at 7:36 pm (utc) on June 10, 2005]
[edit reason] Example.com [/edit]
There are some tips in this thread found over in the PHP Forum Library [webmasterworld.com]...
Installing PHP5 Under Windows XP and Apache [webmasterworld.com]