I've been trying to install the Mandrake Cooker PHP4 RPMs, and have
found two problems.
1. mod_php4-mysql-4.0.1pl2-mdk.i586.rpm and similar packages have
been produced with rather strange requirements, including that the
version of RPM used is <= 3.0.1. So they will not install under
Mandrake 7.1, since that uses rpm version 3.0.4! Some require
MySQL-shared,
which exists in the cooker versions, but not in Mandrake 7.1, where
the package is called MySQL-shared-libs. It looks as if someone
put the packages together in a hurry!
2. Once I install (after installing the cooker MySQL and using
--nodeps), PHP4 works, but does NOT load
the mysql module, despite having it listed in the php.ini file. There
is no sign of MySQL in the list produced by php_info(), any any
attempt to use mysql_connect() in a PHP script generates an
error message denying knowledge of the mysql_connect() function.
This is definitely broken. Mind you, I've never managed to get
MySQL working as a loadable module in PHP4 even when compiling
from source (I've had to make it part of the PHP4 module). Has anyone
managed?
--
Dr. David R. Newman, Queen's University Belfast, School of
Management and Economics, Belfast BT7 1NN, Northern Ireland (UK)
mailto:[EMAIL PROTECTED] Tel. 028 90335011 FAX: 028 90249881
http://www.qub.ac.uk/mgt/staff/dave/