php5 on apache2 error: Cannot load c:/php/php5apache2.dll

i reinstalled windows (98), installed apache and extracted the php5 zip
file into c:\php. i renamed php.ini-recommended to php.ini and added
the following lines to httpd.conf:

LoadModule php5_module “c:/php/php5apache2.dll”
AddType application/x-httpd-php .php
PHPIniDir “C:/php”

now when i start apache i get an error message:

Syntax error on line 957 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/php5apache2.dll into server: One of the library
files needed to run this application cannot be found.

when i delete the line
LoadModule php5_module “c:/php/php5apache2.dll”
apache works fine. i tried to copy php5ts.dll to c:\windows,
c:\windows\system and c:\program files\apache group\apache2\bin, it
still doesnt work…

what can i do…?

Leave a Reply

Your email address will not be published. Required fields are marked *