Posted by David Haynes on 04/28/06 03:33
ll_42@hotmail.com wrote:
> 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...?
>
Where did you install php to?
If it is in C:\php then php2apache2.dll should be in C:\php\php2apache2.dll.
Your httpd.conf file should contain:
LoadModule php5_module C:/php/php2apache2.dll
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
-david-
[Back to original message]
|