Hi there,
I just attempted to install PHP 4.1.1 (as an apache DSO) on my RedHat Linux 7.1 system. It was built from the tarball distribution using the --with-mysql=/usr option in order to link up with my existing MySQL installation. It built cleanly but when I try to start apache I get the following error:
Starting httpd: Syntax error on line 260 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp
4.so: undefined symbol: mysql_field_count
[FAILED]
I'm not sure this is relevant, but I had to specify '/usr' as the path to the mysql libraries. Specifying '/usr/include/mysql', where they are actually located, resulted in a configure error.
Other information:
2.4 kernel
Apache 1.3.22
MySQL 3.23.22
Any idea what may be causing this error? Is there a fix?
Thanks, in advance, for your assistance.
Regards,
Craig Cummings