Jump to content


Photo

Unable To Find Php5Apache2_2.dll Emsg. Must Be Blinded!


  • Please log in to reply
4 replies to this topic

#1 yshua

yshua

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 04 November 2012 - 10:52 AM

Dear Forum extreme people:

Am using Windows 7, Apache2.2.17, PHP5.2.17, MySQL5.1.65. Am getting the original emsg when installing PHP and Apache2.2.17 a year ago, but clueless again as to why.... The module, "php5apache2.dll," exists in all possible locations:

httpd.exe: Syntax error on line 496 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2.dll into server: The specified module could not be found.

Here are the offensive lines at the bottom of httpd.conf:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
#configure the path to php.ini
PHPIniDir "C:/php/"

Have googled the above emsg without any answers working. And, perhaps someone with experience could recommend a needed PHP version to work, besides the PHP5.3.8 that used to work on my system before having to reinstall Windows 7 on this server?

Thanks,
Yshua

#2 PFMaBiSmAd

PFMaBiSmAd

    Advanced Member

  • Staff Alumni
  • 16,767 posts
  • LocationColorado, U.S.A.

Posted 04 November 2012 - 11:03 AM

The dll that you use with apache 2.2 is - php5apache2_2.dll though I'm not sure that alone is causing the error you are getting.

Edited by PFMaBiSmAd, 04 November 2012 - 11:04 AM.

Signature: (not a comment about anything you posted unless specifically indicated)
Debugging step #1: To get past the garbage-out equals garbage-in stage in your code, you must check that the inputs to your code are what you expect.

Programming is just problem solving, but it is done in another language. You must learn enough of the programming language you are using to be able to read and write code.

#3 yshua

yshua

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 04 November 2012 - 03:13 PM

Dear PFMaBiSmAd:

I goofed! You are quite right. However, that still failed to fix the madness. Same error, only with

httpd.exe: Syntax error on line 496 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2_2.dll into server: The specified module could not be found.

Now it simply returns your correction to me. Just in case, here is the new capitalized PHP and C:/ version of last four lines:

LoadModule php5_module "C:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
#configure the path to php.ini
PHPIniDir "C:/PHP/"

Thanks again!

#4 yshua

yshua

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 04 November 2012 - 05:48 PM

Dear forum people:

Success at last (over a month)! Broke it down that the PHP file might need to be the original PHP5.3.8, and found a PHP directory lying around and it restarted perfectly. Thanks, PFMaBiSmAd, because that little typo could have cost me a lot! Well, something for the detail conscious....

Thanks everyone,
Yshua

#5 n00

n00

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 23 October 2013 - 06:56 PM

Hi Yshua,

 

I hope you're still here, it's been a year since you posted.

 

Could you elaborate on your solution to the problem?  I'm getting the same error; a fresh install of Apache and PHP,and the file that it says could not be found is definitely there.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com