php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6860 Compiles and runs on 2.7, but fails silently when moved to 2.8
Submitted: 2000-09-23 06:20 UTC Modified: 2000-11-03 12:31 UTC
From: abrock at georgefox dot edu Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: Solaris 2.8
Private report: No CVE-ID: None
 [2000-09-23 06:20 UTC] abrock at georgefox dot edu
Compiled Apache 1.3.12 on Solaris 2.7 (64-bit sparc) w/ gcc 2.95.2 using configure:

LDFLAGS="-L/opt/BerkeleyDB/lib -L/export/home/abrock/apache/libraries/lib" \
LIBS="-lresolv -lsocket -lnsl -lldap -llber -ldb" \
INCLUDES="-I/opt/BerkeleyDB/include -I/export/home/abrock/apache/libraries/include" \
EAPI_MM="/opt/mm" \
SSL_BASE="/opt/openssl" \
./configure \
"--enable-module=rewrite" \
"--enable-module=info" \
"--enable-module=auth_dbm" \
"--enable-module=auth_db" \
"--activate-module=src/modules/php4/libphp4.a" \
"--prefix=/opt/apache-ssl"

Works perfectly on the box which compiled the software.  When moved to another Solaris 2.8 (64-bit sparc) machine, the software silently dies with no warning or output.  Output of the command:

truss /opt/t/apache-ssl/bin/httpd -f /opt/t/apache-ssl/conf/httpd.conf 2> truss-out.txt

can be found at:

http://www.georgefox.edu/junk/truss-out.txt

PHP 4.0.2 was compiled with:

./configure \
--prefix=/opt/php4 \
--with-xml \
--enable-ftp \
--with-apache=../apache_1.3.12 \
--with-openssl=/opt/openssl \
--with-snmp=/opt/ucd-snmp \
--enable-ucd-snmp-hack \
--with-mm=/opt/mm \
--with-sybase=/export/home/abrock/apache/libraries \
--with-ldap=/export/home/abrock/apache/libraries \
--with-filepro \
--enable-track-vars \
--with-db2=/opt/BerkeleyDB \
--without-mysql \
--without-gdbm

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-01 11:16 UTC] sniper@php.net
You're asking for trouble doing it like that..=)
Why don't you compile it on that same system you run it?

Please do try a snapshot from snaps.php.net. 
I have it working nicely on Solaris 2.8.

--Jani
 [2000-11-03 12:31 UTC] sniper@php.net
This is no bug in PHP. Please try using Sun CC..and
check the optimization levels (as suggested by Jason Greene)


--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC