PHP Warning: PHP Startup: Unable to load dynamic library php_mysql.dll, Mac 10.6, Apache 2.2, php 5

Posted by munchybunch on Super User See other posts from Super User or by munchybunch
Published on 2009-12-29T23:52:21Z Indexed on 2010/06/07 5:02 UTC
Read the original article Hit count: 539

Filed under:
|

I'm trying to use the PHP CLI, and when I enter something like php test.php in the command line it returns:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mysql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_mysql.dll, 9): image not found in Unknown on line 0
something

test.php contains:

<?php echo 'something'; ?>

I checked /usr/lib/php/extensions/no-debug-non-zts-20090626/, and as expected the .dll file isn't there. I'm a complete beginner when it comes to this - what is happening, and how can I fix it? A search of my system for "php_msyql.dll" reveals nothing. Does it have to do with how I compiled it? I don't have the original version of php that came with the mac, I think - I may have reinstalled it somewhere along the way.

Any help would be appreciated!

© Super User or respective owner

Related posts about php

Related posts about mysql