I've just upgraded to php5 and for some reason my forum/blog (eg everything with a mysql connection) seized to work. Other php scripts work just fine.
Found my 'problem'
was commented out
Excellent! That was my issue too. Thanks!
[root@dogma ~]# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/mysql.so' - libmysqlclient.so.14: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.0.3 (cli) (built: Dec 16 2004 13:44:57) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
I have it uncommented but still can't get it working.
Same problem here since I upgraded PHP earlier this week :?
Possible bug is my guess...
I have been compiling my own modified pkgbuild for php, so I wouldn't know. You should probably submit a bug report to the bug tracker if it hasn't already been done.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
looks like a bug in the mysql package to me
The package has symlink /usr/lib/libmysqlclient.so.14 --> /usr/lib/mysql/libmysqlclient.14. But ~/mysql/libmysqlclient.14 is a symlink and cannot be installed. Requires a direct link to /usr/lib/mysql/libmysqlclient.14.0.0
Run this syntax:
ln -s /usr/lib/mysql/libmysqlclient.14.0.0 /usr/lib/libmysqlclient.so.14
Same here, thanks.
Been fixed in the newest (couple days ago) mysql release...
The suggestion box only accepts patches.
I had the same (or similar) problem, even with the newest package.
This fixed it:
ln -s /usr/lib/mysql/libmysqlclient.so.14.0.0 /usr/lib/libmysqlclient.14
-uncomment extension=mysql.so in /etc/php.ini
-you seem to need to restart the httpd after changes; look at /var/log/httpd/error_log
-I defined PHPRC in /etc/profile, but I'm not sure if this was neccessary