Jump to content

Apache wont start!


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.