John Beranek wrote:
>
> 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?
>
> ===
That's odd, it works for me. The only thing I had problems with was
mod_php-mysql because the latest Apache wasn't compiled with pthreads
support.
Maybe the rpm was fubared? Try `rpm -K php-xxxx.rpm` on the package to
see if it's ok.
--
Steve Fox
http://k-lug.com