You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Celeste Suliin Burris <cs...@ci.tacoma.wa.us> on 2003/01/28 20:22:18 UTC

[users@httpd] Apache 1.3.27, mod_perl and PHP4

I am slowly growing crazy trying to make what should be a fairly
straightforward compile work. I have looked thru the archives and seen
postings similar to mine, but no solutions.

Has anyone managed to get the combination of Apache 1.3.27, mod_perl and
php-4.3.0 to work on Solaris 7 using gcc? I haven't changed my configuration
and httpd.conf from Apache 1.3.21, which worked correctly.

Facts - 
OS - Solaris 7
Compiler - gcc 3.2.1 (I upgraded from 3.2 to see if it worked better)
Apache - 1.3.27
Mod_perl - 1.27
PHP4 - 4.3.0

Apache config.status
CC="gcc" \
./configure \
"--enable-suexec" \
"--suexec-caller=nobody" \
"--suexec-safepath=/bin:/usr/bin:/usr/local/bin" \
"--suexec-logfile=/usr/local/apache/var/logs/suexec_log" \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--activate-module=src/modules/php4/libphp4.a" \
"--activate-module=src/modules/perl/libperl.a" \
"--disable-rule=EXPAT" \
"$@"

php4 configured with:
./configure  --with-apache=../apache_1.3.27 --with-mysql=/usr/local/mysql
--with-mysql-sock=/var/lib/mysql/mysql.sock


Mod perl Configured with:
/usr/local/bin/perl Makefile.PL \
         APACHE_PREFIX=/usr/local/apache \
         APACHE_SRC=../apache_1.3.27 \
         USE_APACI=1



It compiles without a problem, but mod_dir (I get a "Document contains no
data message from Netscape) and SSI won't work, and I keep getting the
following message in error_log:

[Fri Jan 24 15:37:51 2003] [info] Server built: Jan 24 2003 14:40:31
[Fri Jan 24 15:37:51 2003] [notice] Accept mutex: fcntl (Default: fcntl)
[Fri Jan 24 15:38:10 2003] [notice] child pid 16363 exit signal Segmentation
Fault (11)
[Fri Jan 24 15:38:10 2003] [notice] child pid 16362 exit signal Segmentation
Fault (11)

Any ideas? Has anyone had any success?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 1.3.27, mod_perl and PHP4 - the answer

Posted by Celeste Suliin Burris <cs...@ci.tacoma.wa.us>.
I've seen this question all over the place, and I've finally got a working
copy.

The apache config command doesn't support the standard GNU config directive
             --with-ld=/usr/ccs/bin/ld --without-gnu-ld

and cheerfully and quietly ignores the environment variable LD
 
You need to alter your path and LD_LIBRARY_PATH variables to ensure that
apache on Solaris uses the Sun Linker in /usr/ccs/bin and not the GNU
linker.


On 01/28/2003 12:45, "Celeste Suliin Burris" <cs...@ci.tacoma.wa.us>
wrote:

> That doesn't work on Solaris. It's a Windoze and Linux package.
> 
> On 01/28/2003 12:20, "Jeff Cohen" <ap...@gej-it.com> wrote:
> 
>> Try Foxserv from www.sourceforce.net
>> Jeff Cohen
>> 
>>> -----Original Message-----
>>> From: Celeste Suliin Burris [mailto:csburris@ci.tacoma.wa.us]
>>> Sent: Tuesday, January 28, 2003 2:22 PM
>>> To: Apache Users
>>> Subject: [users@httpd] Apache 1.3.27, mod_perl and PHP4
>>> 
>>> I am slowly growing crazy trying to make what should be a fairly
>>> straightforward compile work. I have looked thru the archives and seen
>>> postings similar to mine, but no solutions.
>>> 
>>> Has anyone managed to get the combination of Apache 1.3.27, mod_perl and
>>> php-4.3.0 to work on Solaris 7 using gcc? I haven't changed my
>>> configuration
>>> and httpd.conf from Apache 1.3.21, which worked correctly.
>>> 
>>> Facts -
>>> OS - Solaris 7
>>> Compiler - gcc 3.2.1 (I upgraded from 3.2 to see if it worked better)
>>> Apache - 1.3.27
>>> Mod_perl - 1.27
>>> PHP4 - 4.3.0
>>> 
>>> Apache config.status
>>> CC="gcc" \
>>> ./configure \
>>> "--enable-suexec" \
>>> "--suexec-caller=nobody" \
>>> "--suexec-safepath=/bin:/usr/bin:/usr/local/bin" \
>>> "--suexec-logfile=/usr/local/apache/var/logs/suexec_log" \
>>> "--with-layout=Apache" \
>>> "--prefix=/usr/local/apache" \
>>> "--activate-module=src/modules/php4/libphp4.a" \
>>> "--activate-module=src/modules/perl/libperl.a" \
>>> "--disable-rule=EXPAT" \
>>> "$@"
>>> 
>>> php4 configured with:
>>> ./configure  --with-apache=../apache_1.3.27 --with-mysql=/usr/local/mysql
>>> --with-mysql-sock=/var/lib/mysql/mysql.sock
>>> 
>>> 
>>> Mod perl Configured with:
>>> /usr/local/bin/perl Makefile.PL \
>>>          APACHE_PREFIX=/usr/local/apache \
>>>          APACHE_SRC=../apache_1.3.27 \
>>>          USE_APACI=1
>>> 
>>> 
>>> 
>>> It compiles without a problem, but mod_dir (I get a "Document contains no
>>> data message from Netscape) and SSI won't work, and I keep getting the
>>> following message in error_log:
>>> 
>>> [Fri Jan 24 15:37:51 2003] [info] Server built: Jan 24 2003 14:40:31
>>> [Fri Jan 24 15:37:51 2003] [notice] Accept mutex: fcntl (Default: fcntl)
>>> [Fri Jan 24 15:38:10 2003] [notice] child pid 16363 exit signal
>>> Segmentation
>>> Fault (11)
>>> [Fri Jan 24 15:38:10 2003] [notice] child pid 16362 exit signal
>>> Segmentation
>>> Fault (11)
>>> 
>>> Any ideas? Has anyone had any success?
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
>> 
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 1.3.27, mod_perl and PHP4

Posted by Celeste Suliin Burris <cs...@ci.tacoma.wa.us>.
That doesn't work on Solaris. It's a Windoze and Linux package.

On 01/28/2003 12:20, "Jeff Cohen" <ap...@gej-it.com> wrote:

> Try Foxserv from www.sourceforce.net
> Jeff Cohen
> 
>> -----Original Message-----
>> From: Celeste Suliin Burris [mailto:csburris@ci.tacoma.wa.us]
>> Sent: Tuesday, January 28, 2003 2:22 PM
>> To: Apache Users
>> Subject: [users@httpd] Apache 1.3.27, mod_perl and PHP4
>> 
>> I am slowly growing crazy trying to make what should be a fairly
>> straightforward compile work. I have looked thru the archives and seen
>> postings similar to mine, but no solutions.
>> 
>> Has anyone managed to get the combination of Apache 1.3.27, mod_perl and
>> php-4.3.0 to work on Solaris 7 using gcc? I haven't changed my
>> configuration
>> and httpd.conf from Apache 1.3.21, which worked correctly.
>> 
>> Facts -
>> OS - Solaris 7
>> Compiler - gcc 3.2.1 (I upgraded from 3.2 to see if it worked better)
>> Apache - 1.3.27
>> Mod_perl - 1.27
>> PHP4 - 4.3.0
>> 
>> Apache config.status
>> CC="gcc" \
>> ./configure \
>> "--enable-suexec" \
>> "--suexec-caller=nobody" \
>> "--suexec-safepath=/bin:/usr/bin:/usr/local/bin" \
>> "--suexec-logfile=/usr/local/apache/var/logs/suexec_log" \
>> "--with-layout=Apache" \
>> "--prefix=/usr/local/apache" \
>> "--activate-module=src/modules/php4/libphp4.a" \
>> "--activate-module=src/modules/perl/libperl.a" \
>> "--disable-rule=EXPAT" \
>> "$@"
>> 
>> php4 configured with:
>> ./configure  --with-apache=../apache_1.3.27 --with-mysql=/usr/local/mysql
>> --with-mysql-sock=/var/lib/mysql/mysql.sock
>> 
>> 
>> Mod perl Configured with:
>> /usr/local/bin/perl Makefile.PL \
>>          APACHE_PREFIX=/usr/local/apache \
>>          APACHE_SRC=../apache_1.3.27 \
>>          USE_APACI=1
>> 
>> 
>> 
>> It compiles without a problem, but mod_dir (I get a "Document contains no
>> data message from Netscape) and SSI won't work, and I keep getting the
>> following message in error_log:
>> 
>> [Fri Jan 24 15:37:51 2003] [info] Server built: Jan 24 2003 14:40:31
>> [Fri Jan 24 15:37:51 2003] [notice] Accept mutex: fcntl (Default: fcntl)
>> [Fri Jan 24 15:38:10 2003] [notice] child pid 16363 exit signal
>> Segmentation
>> Fault (11)
>> [Fri Jan 24 15:38:10 2003] [notice] child pid 16362 exit signal
>> Segmentation
>> Fault (11)
>> 
>> Any ideas? Has anyone had any success?
>> 
>> 
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache 1.3.27, mod_perl and PHP4

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
There is some info about why mod_perl produces segfaults on
perl.apache.org (I don't have a specific link).

What version of Perl?
What compiler was Perl compiled with? (It should be the same)
Does your Perl have bin5005compat or usemymalloc on? (perl -V)

Try compilimg mod_perl without Perl_SSI (i.e. don't use EVERYTHING=1)
(I think this is on by default)

There is a lot of segfault discussion on the mod_perl mail list.

http://marc.theaimsgroup.com/?l=apache-modperl&r=1&w=2#apache-modperl





On Tue, 28 Jan 2003, Jeff Cohen wrote:

> Try Foxserv from www.sourceforce.net
> Jeff Cohen
>
> > -----Original Message-----
> > From: Celeste Suliin Burris [mailto:csburris@ci.tacoma.wa.us]
> > Sent: Tuesday, January 28, 2003 2:22 PM
> > To: Apache Users
> > Subject: [users@httpd] Apache 1.3.27, mod_perl and PHP4
> >
> > I am slowly growing crazy trying to make what should be a fairly
> > straightforward compile work. I have looked thru the archives and seen
> > postings similar to mine, but no solutions.
> >
> > Has anyone managed to get the combination of Apache 1.3.27, mod_perl and
> > php-4.3.0 to work on Solaris 7 using gcc? I haven't changed my
> > configuration
> > and httpd.conf from Apache 1.3.21, which worked correctly.
> >
> > Facts -
> > OS - Solaris 7
> > Compiler - gcc 3.2.1 (I upgraded from 3.2 to see if it worked better)
> > Apache - 1.3.27
> > Mod_perl - 1.27
> > PHP4 - 4.3.0
> >
> > Apache config.status
> > CC="gcc" \
> > ./configure \
> > "--enable-suexec" \
> > "--suexec-caller=nobody" \
> > "--suexec-safepath=/bin:/usr/bin:/usr/local/bin" \
> > "--suexec-logfile=/usr/local/apache/var/logs/suexec_log" \
> > "--with-layout=Apache" \
> > "--prefix=/usr/local/apache" \
> > "--activate-module=src/modules/php4/libphp4.a" \
> > "--activate-module=src/modules/perl/libperl.a" \
> > "--disable-rule=EXPAT" \
> > "$@"
> >
> > php4 configured with:
> > ./configure  --with-apache=../apache_1.3.27 --with-mysql=/usr/local/mysql
> > --with-mysql-sock=/var/lib/mysql/mysql.sock
> >
> >
> > Mod perl Configured with:
> > /usr/local/bin/perl Makefile.PL \
> >          APACHE_PREFIX=/usr/local/apache \
> >          APACHE_SRC=../apache_1.3.27 \
> >          USE_APACI=1
> >
> >
> >
> > It compiles without a problem, but mod_dir (I get a "Document contains no
> > data message from Netscape) and SSI won't work, and I keep getting the
> > following message in error_log:
> >
> > [Fri Jan 24 15:37:51 2003] [info] Server built: Jan 24 2003 14:40:31
> > [Fri Jan 24 15:37:51 2003] [notice] Accept mutex: fcntl (Default: fcntl)
> > [Fri Jan 24 15:38:10 2003] [notice] child pid 16363 exit signal
> > Segmentation
> > Fault (11)
> > [Fri Jan 24 15:38:10 2003] [notice] child pid 16362 exit signal
> > Segmentation
> > Fault (11)
> >
> > Any ideas? Has anyone had any success?
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Apache 1.3.27, mod_perl and PHP4

Posted by Jeff Cohen <ap...@gej-it.com>.
Try Foxserv from www.sourceforce.net
Jeff Cohen

> -----Original Message-----
> From: Celeste Suliin Burris [mailto:csburris@ci.tacoma.wa.us]
> Sent: Tuesday, January 28, 2003 2:22 PM
> To: Apache Users
> Subject: [users@httpd] Apache 1.3.27, mod_perl and PHP4
> 
> I am slowly growing crazy trying to make what should be a fairly
> straightforward compile work. I have looked thru the archives and seen
> postings similar to mine, but no solutions.
> 
> Has anyone managed to get the combination of Apache 1.3.27, mod_perl and
> php-4.3.0 to work on Solaris 7 using gcc? I haven't changed my
> configuration
> and httpd.conf from Apache 1.3.21, which worked correctly.
> 
> Facts -
> OS - Solaris 7
> Compiler - gcc 3.2.1 (I upgraded from 3.2 to see if it worked better)
> Apache - 1.3.27
> Mod_perl - 1.27
> PHP4 - 4.3.0
> 
> Apache config.status
> CC="gcc" \
> ./configure \
> "--enable-suexec" \
> "--suexec-caller=nobody" \
> "--suexec-safepath=/bin:/usr/bin:/usr/local/bin" \
> "--suexec-logfile=/usr/local/apache/var/logs/suexec_log" \
> "--with-layout=Apache" \
> "--prefix=/usr/local/apache" \
> "--activate-module=src/modules/php4/libphp4.a" \
> "--activate-module=src/modules/perl/libperl.a" \
> "--disable-rule=EXPAT" \
> "$@"
> 
> php4 configured with:
> ./configure  --with-apache=../apache_1.3.27 --with-mysql=/usr/local/mysql
> --with-mysql-sock=/var/lib/mysql/mysql.sock
> 
> 
> Mod perl Configured with:
> /usr/local/bin/perl Makefile.PL \
>          APACHE_PREFIX=/usr/local/apache \
>          APACHE_SRC=../apache_1.3.27 \
>          USE_APACI=1
> 
> 
> 
> It compiles without a problem, but mod_dir (I get a "Document contains no
> data message from Netscape) and SSI won't work, and I keep getting the
> following message in error_log:
> 
> [Fri Jan 24 15:37:51 2003] [info] Server built: Jan 24 2003 14:40:31
> [Fri Jan 24 15:37:51 2003] [notice] Accept mutex: fcntl (Default: fcntl)
> [Fri Jan 24 15:38:10 2003] [notice] child pid 16363 exit signal
> Segmentation
> Fault (11)
> [Fri Jan 24 15:38:10 2003] [notice] child pid 16362 exit signal
> Segmentation
> Fault (11)
> 
> Any ideas? Has anyone had any success?
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org