php 438 and mysql 41 fedora 2 wont talk
I am totally frustrated. This morning I had a working server (Fedora Core 2) running PHP 4.3.8 and mySQL 3.23. It has taken me the day to get mySQl 4.1 installed and working, but I can't get PHP and Mysql to communicate.
I had to erase the package mysql-4.3.8-2.1.i386.rpm in order to install mysql and when I tried to reinstall it it complained of missing dependancy libmysqlclient.so.10 ( libmysqlclient.so.14 was installed as part of mysql installation) so I finally found a package with libmysqlclient.so.10 in it in mysql.com downloads for version 4.0 and installed that then installed the php-mysql package successfully.
BUT in phpinfo() it shows the client API version as 3.23.38 - not a good sign, and when I run a php script I get the error "Call to undefined function mysql_connect()".
Any suggestions at all as to how to get this working would be very welcome.
|