Re: [Cooker] PHP4 problems

2000-08-31 Thread John Beranek

Steve Fox wrote:
 
 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.

Hmm.

 Maybe the rpm was fubared? Try `rpm -K php-.rpm` on the package to
 see if it's ok.

rpm -K checks out fine on all the apache and php rpms I installed.  So still
no closer to a solution...guess I'll go back to PHP3 from Mandrake 7.1...

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/




Re: [Cooker] PHP4 problems

2000-08-30 Thread Steve Fox

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-.rpm` on the package to
see if it's ok.

-- 

Steve Fox
http://k-lug.com