thundermoon;10877114 wrote:installed php5, apache (latest version) and MySQL
I can not get the php to work correctly. I have researched many websites and still can't get it to function correctly. the apache error log is asking for files that I can't find.
I am running windows XP and have installed this before (different versions) using Sokkit they are no longer around. (Sokkit was a all in one install package) this is not for a live site just site development.
just add this at the bottom of your httpd.conf in apache
and make sure all your path is correct and don't forget to add in PATH on your Environment Variables. PATH=C:\Program Files\PHP\; rightclick your my computer->properties->advanced->environment variables....
I run php as a module ... not CGI.... :-)
For PHP 5 do something like this:
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
configure the path to php.ini
PHPIniDir "C:/Program Files/PHP"