Re: PHP 4.2.0 causes...oddities...in Apache2.
| From: | Stephan Wuelfert | Date: | Fri, 03 May 2002 03:47:49 +0000 |
| Subject: | Re: PHP 4.2.0 causes...oddities...in Apache2. | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6824@lists.php.net to get a copy of this message | ||
Hi Dylan Fitzgerald,
well, thats _exactly_ what I get! There ist one little trick to get it
running. Start apache _without_ the LoadModule line with php. Now apache
starts up correctly. Insert the LoadModule line in httpd.conf and make a
restart. apache loads the php-module and ist fully functional. Even on high
load and longer runtime it doesn't crash here. But I am unable to start it
with the php-module.
Why? hmm, I have absolutely no idea. No logfile, no errors on syslog,
nothing. Maybe there is something to see with strace but until now I have
had no time to test this.
by
Stephan Wuelfert
Dylan Fitzgerald wrote:
> Okay, I have Apache2 up and running quite nicely on a Sorcerer box. Joy
> of
> joys. And I finally managed to get PHP to compile against it, which
> took a good deal longer.
>
> Interestingly enough, though, when I start Apache2 with the LoadModule
> line for PHP4.2.0 in /usr/local/apache2/conf/httpd.conf, it doesn't
> error out, doesn't touch error_log or access_log, but instead simply
> disappears within a second or so.
>
> Apache2 runs fine without the LoadModule line, so it seems to be
> PHP-related...any ideas?
>
> PHP4.2.0 configure/compile/execute/ps ax follows.
>
> Running:
> make clean; ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> --enable-tracking-vars --enable-magic-quotes --with-mysql && make && make
> install && killall httpd
> (then insert into httpd.conf: LoadModule
> /usr/local/apache2/modules/libphp4.so and <files *.php>SetOutput Filer PHP
> and SetInputFilter PHP</files>) apachectl start && sleep 2s && ps ax |
> grep -i httpd
>
[snipped]