PHP 4.0 Bug #6860 Updated: Compiles and runs on 2.7, but fails silently when moved to 2.8
| From: | sniper@php.net | Date: | Fri, 03 Nov 2000 17:31:09 +0000 |
| Subject: | PHP 4.0 Bug #6860 Updated: Compiles and runs on 2.7, but fails silently when moved to 2.8 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36996@lists.php.net to get a copy of this message | ||
ID: 6860
Updated by: sniper
Reported By: abrock@georgefox.edu
Status: Closed
Bug Type: Apache related
Assigned To:
Comments:
This is no bug in PHP. Please try using Sun CC..and
check the optimization levels (as suggested by Jason Greene)
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-01 11:16:52] 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-09-23 06:20:18] abrock@georgefox.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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6860