michaelsanford
Translator, Web Developer
On Slackware10, php 4.3.9, httpd 1.33 running phpMyAdmin2.6 I got the dreaded
cannot load mysql extension,
please check PHP Configuration
Documentation
So, I checked the documentation explaining that that message appears if PHP can't load the mysql.so module.
Checking /etc/apache/php.ini (which are all defaults)
extension_dir = "/usr/lib/php/extensions/"
extension=mysql.so
$ ls -la /usr/lib/php/extensions/ | grep mysql.so
-rwxr-xr-x root root 1 mysql.so*
So, any ideas what's going on ?
FYI: I noticed that slapt-get upgraded my PHP to 5, so I used swaret to downgrade it back to 4.3.9 and added an EXCLUDE=php* to my slaptget-rc. But, all these files are here now, after that little episode, so I can't imagine why it's not working...
Somehow, I fixed it.
cannot load mysql extension,
please check PHP Configuration
Documentation
So, I checked the documentation explaining that that message appears if PHP can't load the mysql.so module.
Checking /etc/apache/php.ini (which are all defaults)
extension_dir = "/usr/lib/php/extensions/"
extension=mysql.so
$ ls -la /usr/lib/php/extensions/ | grep mysql.so
-rwxr-xr-x root root 1 mysql.so*
So, any ideas what's going on ?
FYI: I noticed that slapt-get upgraded my PHP to 5, so I used swaret to downgrade it back to 4.3.9 and added an EXCLUDE=php* to my slaptget-rc. But, all these files are here now, after that little episode, so I can't imagine why it's not working...
Somehow, I fixed it.