Jump to content


Apache wont start!


  • Please log in to reply
3 replies to this topic

#1 Guest_informedpress.info_*

Guest_informedpress.info_*
  • Guests

Posted 02 July 2006 - 07:34 AM

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!







#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 July 2006 - 09:59 AM

Downgrade to Apache2.0.x instead. PHP doesnt offically support Apache2.2.

#3 Guest_informedpress.info_*

Guest_informedpress.info_*
  • Guests

Posted 02 July 2006 - 08:12 PM

Can I just run the apache uninstaller and then install the other version?  Or are there manual steps to be done?

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 July 2006 - 09:04 PM

You have to unstall Apache2.2.x first before you install Apache2.0.x




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users