Hello,
Facts about my System:
-FreeBSD
-Apache 2.2
-Cactt 0.8.7 via Ports
-MySQL 5.5
-PHP5
Problemdescription:
Cannot view localhost/cacti nor localhost/cacti/phpinfo.php (Both times Blank Page, insertd <p>test</p> -> See White Page with test on it)
Assumption:
PHP is not working correctly.
php -m shows:
Directory /usr/local/lib/mysql contains (where the libmysqlclient.so.15 should be)
But there is no libmysqlclient.so.15 only a libmysqlclient.so.16. Before I installed Cacti I upgraded MySql-Server and MySql-Client from Version 5.0 to version 5.5.
PHP and Apache where installed before and are needed for other applications.
So, I think, the problem is, that PHP (or: the mysql.so from PHP) still wants to use thelibmysqlclient.so.15 from MySQL5.0.
Solution needed:
- How can I tell PHP (or: the mysql.so from PHP) that it should use thelibmysqlclient.so.16 and not thelibmysqlclient.so.15?
- If this is not possible, Can I get thelibmysqlclient.so.15 somewhere?
Thanks a lot!
Facts about my System:
-FreeBSD
-Apache 2.2
-Cactt 0.8.7 via Ports
-MySQL 5.5
-PHP5
Problemdescription:
Cannot view localhost/cacti nor localhost/cacti/phpinfo.php (Both times Blank Page, insertd <p>test</p> -> See White Page with test on it)
Assumption:
PHP is not working correctly.
php -m shows:
Code:
PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mysql.so' - Shared object "libmysqlclient.so.15" not found, required by "mysql.so" in Unknown on line 0
Directory /usr/local/lib/mysql contains (where the libmysqlclient.so.15 should be)
Code:
libdbug.a
libmysqlclient.so
libmysqlservices.a
libheap.a
libmysqlclient_r.a
libmystrings.a
libmyisam.a
libmysqlclient_r.la
libmysys.a
libmyisammrg.a
libmysqlclient_r.so
libvio.a
libmysqlclient.a
libmysqlclient_r.so.16
plugin
But there is no libmysqlclient.so.15 only a libmysqlclient.so.16. Before I installed Cacti I upgraded MySql-Server and MySql-Client from Version 5.0 to version 5.5.
PHP and Apache where installed before and are needed for other applications.
So, I think, the problem is, that PHP (or: the mysql.so from PHP) still wants to use thelibmysqlclient.so.15 from MySQL5.0.
Solution needed:
- How can I tell PHP (or: the mysql.so from PHP) that it should use thelibmysqlclient.so.16 and not thelibmysqlclient.so.15?
- If this is not possible, Can I get thelibmysqlclient.so.15 somewhere?
Thanks a lot!