I'm running a RedHat 6.2 system with a few Mandrake (and now Mandrake
cooker) bits thrown in, and decided I wanted PHP4 instead of the Mandrake 7.1
mod_php3 I was using.
So, I downloaded the Cooker PHP4 packages, satisified all the dependencies
(including a new Apache) and then fixed my httpd.conf.
_However_, I now can't get the php4 module to run at all, the error I get
is (from /usr/sbin/apachectl-perl configtest):
===
Syntax error on line 1 of /etc/httpd/conf/addon-modules/php.conf:
API module structure `php4_module' in file /usr/lib/apache/libphp4.so is
garbled - perhaps this is not an Apache module DSO?
===
So, anyone know what's going on here, I've even tried recompiling PHP4 from
the SRPM, and still no joy.
My RPMS:
root@jberanek3 /usr/lib/apache: rpm -q -a|grep apache
apache-suexec-1.3.12-24mdk
apache-common-1.3.12-24mdk
apache-manual-1.3.12-24mdk
apache-mod_perl-1.3.12_1.24-24mdk
apache-devel-1.3.12-24mdk
root@jberanek3 /usr/lib/apache: rpm -q -a|grep php
mod_php-4.0.1pl2-4mdk
php-4.0.1pl2-4mdk
mod_php-gd-4.0.1pl2-4mdk
php-standalone-4.0.1pl2-4mdk
mod_php-imap-4.0.1pl2-4mdk
mod_php-ldap-4.0.1pl2-4mdk
mod_php-mysql-4.0.1pl2-4mdk
php-manual-4.0.1pl2-4mdk
That's all,
John.
--
John Beranek, Senior Software Engineer
Pace Micro Technology plc. (Cambridge) Tel: +44 1223 518561
645 Newmarket Road, Fax: +44 1223 518526
Cambridge, CB5 8PB, UK. Web: http://www.pace.co.uk/