Hello
guys, I have a RH 7.3 with apache 1.3.27, php 4.1.2-7 and mysql 3.23. Someone is suposed to know that RH when installed in standard mode doesn't install a necessary package to allow php working with mysql. This package is: php-mysql-4.1.2-7.i386.rpm When I try to use some function on php to access mysql, I have an error message: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/mysqltest.php on line 3 So, I've been trying to install this package but unsucessfullly because there is another error message during the instalation. error: failed dependencies: libmysqlclient.so.10 is needed by php-mysql-4.1.2-7 So I found a package (mysql-devel-3.23.49-3.i386.rpm) that contains this library, and I installed it. But the dependencies didn't disappear. The problem folows! I installed the mysqlclient9-3.23.22-6.i386.rpm package too, but unsucessfully again. In the mysql's lib directory I've found this library, but with a similar name. lrwxrwxrwx 1 root root 24 May 21 13:37 mysqlclient.so -> libmysqlclient.so.10.0.0 So, I tried to create a link with ln, but it didn't work again! Please help me, if you can! ps. I apologize about my poor english. I'm a Brazilian guy. Thaks a lot! Fábio Leite |
- Re: php + mysql integration failed!! Fabio
- Re: php + mysql integration failed!! Didier Casse