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/29 01:57:30 UTC

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

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