[ale] Apache 2.0/PHP seg faults?
cfowler
cfowler at outpostsentinel.com
Tue May 7 07:54:33 EDT 2002
There is the key message. "building PHP as a dynamically loaded Apache
module isn't supported at this time."
I will almost be the problem causing the SIGSEGV is hapening around
dlsym.
On Tue, 2002-05-07 at 07:47, Jim Philips wrote:
> Did you see this part of the release notes:
>
> The Apache Software Foundation recently released their first General
> Availability version of Apache 2. PHP 4.2.0 will have EXPERIMENTAL support
> for this version. You can build a DSO module for Apache 2 with --with-apxs2.
> We do not recommend that you use this in a production environment.
>
> PHP 4.2.0 still lacks certain key features on Mac OS X and Darwin, and isn't
> officially supported by the PHP Group on these platforms. Specifically,
> building PHP as a dynamically loaded Apache module isn't supported at this
> time. PHP 4.3.0, due to be released in August, 2002, will be the first PHP
> release to officially support Mac OS X. It, along with future Mac OS X and
> Apache releases, will enable full feature parity with other PHP platforms.
> Update: Instructions on overcoming these limitations
>
> http://www.php.net/release_4_2_0.php
>
> I have not tried to run Apache 2.0 due to the warnings listed above.
>
>
> On Tuesday 07 May 2002 03:32 am, jb at sourceillustrated.com wrote:
> > I've been trying to get 2.0 and php working with no success. I actually
> > have it working on a debian box, but am trying to get it going on my gentoo
> > box. No luck. I've even tried copying conf and php.ini files between
> > boxes.
> >
> > The problem is the same with Apache 2.0.35 and 2.0.36 using php 4.2.0.
> > Everything compiles and installs successfully. When I run it with
> > ./apachectl start, it says it started successfully. However, it dies
> > almost immediately after starting with no error messages to stderr or to
> > error_log:
> >
> > ./apachectl start
> > httpd: Could not determine the server's fully qualified domain name, using
> > 127.0.0.1 for ServerName
> > ./apachectl start: httpd started
> >
> > $ ps -ef | grep httpd
> > <nothing>
> >
> > To get an idea of what might be happening, I ran:
> >
> > httpd -X -f /usr/local/apache/conf/httpd.conf
> >
> > Segmentation fault
> >
> > Error code is set to 139.
> >
> > A little more investigation led me to comment out the following line from
> > httpd.conf:
> >
> > LoadModule php4_module modules/libphp4.so
> >
> > After removing the line, apache starts up just fine. So, the problem seems
> > to be with the PHP installation.
> >
> > I've tried recompiling php with various configuration parameters to no
> > avail. I've verified php.ini. At this point, I'm close to rolling back to
> > 1.3, but thought I'd see if anyone else out there is having similar
> > troubles.
> >
> > Thanks,
> > John
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
>
>
>
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list