Jump to content

Apache wont start!


Guest informedpress.info

Recommended Posts

Guest informedpress.info
Hello,
I'm new to php, apache and mysql and i am installing them to my laptop to learn how to use them all.  I installed mysql, no problems.  Installed apache2.2 again no problems.  Unpacked php5 to c:\php, copied php.ini to c:\windows, copied php5ts.dll, and edited apache's httpd.conf to use php by adding the following lines:


  #PHP 5
  LoadModule php5_module "c:/php/php5apache2.dll"
  #Location of the php.ini, PHP's configuration file.
  PHPIniDir "C:/WINDOWS"

and

  #PHP5
      # File extensions to be parsed by the PHP intepreter.
      AddType application/x-httpd-php .php .phtml .html
      AddType application/x-httpd-phps .phps

But when I start Apache in the console it errors out with the following message:

  Syntax error on line 117 of c:/program files/apache software
  foundation/apache2.2/conf/httpd.conf: Cannot load c:/php/php5apache2.dll into server: The
  specified module could not be found.

Does anyone know what I am doing wrong?  This is a fresh install of windows xp pro with all updates and patches applied.

Thanks!





Link to comment
https://forums.phpfreaks.com/topic/13434-apache-wont-start/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.