Hi all,
I use PHP 4.1.2 with apache 1.3.27 on a RedHat Linux ES 2.1 and am trying to upgrade from MySQL 3.23.58 to MySQL 4.1.9, but PHP is giving me some problems.
I upgraded MySQL with the RPM packages from the MySQL website. All packages I needed where upgraded (ie. mysql-server, client, devel, shared and shared-compat). Until now everything worked quite nice, the new MySQL version worked perfectly.
Now I re-installed the php packages to make sure it connected to the new MySQL. To do this I re-installed the rpm packages from my RedHat CD's (php-4.1.2-2.1.8 and php-mysql-4.1.2-2.1.8). At first this seemed to work fine as well, but I noticed that I was not able to use MySQL 4.1 specific functions...
phpinfo() told me that my "Client API version" was 3.23.58 and not 4.1.9. So I took a look at mysql.so and noticed that it was linked to libmysqlclient.so.10, so I moved this file out of the way and linked libmysqlclient.so.14 to libmysqlclient.so.10 hoping that this would correct the problem.
Now phpinfo() showed the correct "Client API version" (4.1.9) but when I try to access a page containing a mysql function, I get a "Unexpected network read error; connection aborted." Error and my apache logs this:
"child pid xxxxx exit signal Segmentation fault (11)"
Am I missing something, or is my way of thinking in terms of the libmysqlclient.so files wrong?
Any help would be greatly appreciated.
Joeri Vankelst