views:

405

answers:

1

This is becoming a very frustrating issue. I am trying to do a clean install of apache 2.2 and PHP 5.2.11. Everything seems to be configured correctly but the php modules aren't starting...

PHP Warning:  PHP Startup: Unable to load dynamic library '.;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_mcrypt.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '.;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0

in the php.ini

include_path = ".;C:\Program Files (x86)\Apache Software Foundation\Apache2.2\php"
extension_dir = ".;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/"

All the files are there... The .dll files such as ssleay32.dll, libmcrypt.dll, libmysql.dll, libeay32.dll are all installed at...

C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/

I also included them in the C:\Windows\System32

and even added C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ to the windows path.

I have no idea why this isn't working and it feels like a no win situation. Anyone have any ideas on how to get this all working ok?

+1  A: 

Try this:

extension_dir = "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/"

without starting with the .;

Carlos Lima
That got it all working again. now I just have to figure out why OpenSSL and paypalewp aren't working right even after a clean install... Thanks for the answer
Isisagate
Happy to help!Post another question about your OpenSSL issues if you cant solve it. Maybe someone around here can help. :)
Carlos Lima