Syntax error on line 494 of httpd.conf: Cannot load .../php5apache2_2.dll into server

Posted by pikachu on Server Fault See other posts from Server Fault or by pikachu
Published on 2012-04-14T18:01:09Z Indexed on 2012/04/14 23:33 UTC
Read the original article Hit count: 265

Filed under:
|
|

I have been learning PHP. I had installed Apache-server (not in a combination-suite like USBWebserver). Now I'm trying to put my sites on a portable stick, using USBWebserver. I already used that program before to carry MySQL databases with me (and Apache worked as well, cause I used the included PHPMyAdmin for managing the databases.), but now it doesn't work anymore. When I start the program, I keep having the text saying Apache is offline.

I've tried to open Apache using the command line (don't know what that would do, but, it's just a try). I got an error message saying

Syntax error on line 494 of C:/.../httpd.conf: Cannot load C:/.../php5apache2_2.dll into server:
(The following is translated from Dutch)
An initialization routine of the dynamic link library (dll-file) has failed.

Line 494 says this:

LoadModule php5_module "C:/Users/School/Downloads/USBWebserver v8_en/php/php5apache2_2.dll"

My first Apache installation (its service) is not running. The ports are different. And I also uninstalled the service (using the httpd.exe -k uninstall command);

What can be the problem? Thanks for help.

© Server Fault or respective owner

Related posts about apache2

Related posts about php