PHP 5 installation troubles...

NathanBWF

Golden Member
May 29, 2003
1,810
0
0
So acording to php.net, all I need to do to get PHP5 running is add in the following to my httpd.conf file:

# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

As soon as I put in LoadModule php5_module "c:/php/php5apache2.dll" and try to restart Apache, it crashes. If I take that line out, Apache fires up again no prob after a restart. Also, I don't even have a php5apache2.dll in c:\php folder.

Am I missing something...?
 

NathanBWF

Golden Member
May 29, 2003
1,810
0
0
Nevermind, figured it out. The MSI installer doesn't have everything that the zip package has. I downloaded that, unzipped it to my PHP dir., re-added those lines to my httpd.conf file and everything is fine now.