Jump to content

Archived

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

Guest informedpress.info

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!





Share this post


Link to post
Share on other sites
Downgrade to Apache2.0.x instead. PHP doesnt offically support Apache2.2.

Share this post


Link to post
Share on other sites
Guest informedpress.info
Can I just run the apache uninstaller and then install the other version?  Or are there manual steps to be done?

Share this post


Link to post
Share on other sites
You have to unstall Apache2.2.x first before you install Apache2.0.x

Share this post


Link to post
Share on other sites

×

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.