PHP5,MySQL 4.1, Apache 2 Install

liunx

Guest
I am working on a test server to start developing for a future application server. I am trying to use what will be stable releases at the time the application will be launched.

Anyway, Everything is working except it seems PHP doesn't want to load the mysqli extention or for that matter any extention.

I get the error below when starting apache:

PHP Startup - Unable to load dynamic library "C:\php\ext\php_mysqli.dll" - The specified module could not be found.


It seems I have everything setup right, but it still is not working no matter what I try.
[php.ini]
...
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\php\ext"
...
extension=php_mysqli.dll
...


Any help?I had a similar problem with mysql. You need to also copy the libmysqli.dll file from you php5 director to your windows/system32 directory. Thats how I got mysql to work.Well I thought that was it too, but no extentions were working. What ended up fixing it was a trailing "/" on the extention_dir.

; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\php\ext\"


Odd. That single little change made the whole thing work again.

- Christopher
 
Back
Top