[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apache not starting with PHP4 module (was: RE: [cobalt-users] Problem with PHP4 mysql support)
- Subject: Re: Apache not starting with PHP4 module (was: RE: [cobalt-users] Problem with PHP4 mysql support)
- From: Seth Mos <knuffie@xxxxxxxxx>
- Date: Mon Aug 21 12:53:19 2000
At 09:27 PM 8/21/00 +0200, you wrote:
Hi there,
well I have been trying to get PHP4 to work on my RAQ3
for two days and one night now - without any success.
It is possible :-)
On ly thing is that I use a qube 2
I reinstalled imap and mysql from the sources and then
did a
./configure --with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc/httpd/php4
--with-mysql=/usr/local/mysql
--with-imap=/home/sites/home/users/admin/imap-4.7c/
--with-gnu-ld
Then I did a make and a make install - no problems so
far. Then I edited httpd.conf and srm.conf to use the
PHP4 module instead of the PHP3 module. Then I restarted
the http daemon, or rather tried to. All that happens
is that httpd shuts down and tries to restart, but refuses
all connections on port 80. httpd status returns that
httpd is running - but I don't believe that anymore (-;
Stop the httpd /etc/rc.d/init.d/httpd or "killall httpd".
then run httpd -X on the console.
See if that spits out any errors. It should.
You als did check /var/log/error_log did you?
btw I use to compile without modules (don't know why).
httpd binary gets fatter but what the heck. Modules should _NOT_ be different.
Good results so far.
Well, by now I recompiled PHP4 more than a dozen times
w/o any success... I guess I'll give up now and return to
PHP3. At least that works ))-: Well, if anybody has any
idea, what's going on here, I'd really like to hear that (-:
You did do a "make distclean" before reconfiguring did you ;-)
That makes sure your config.cache gets wiped.
(I'll try it for you over here on my qube)
Bye
--
Seth
"Have you gone mad?"
"Well, yes, but that's beyond the scope of this email."