Re: PHP 4.2.3 fails to load...

From: Date: Mon, 16 Jun 2003 19:45:11 +0000
Subject: Re: PHP 4.2.3 fails to load...
Groups: php.install 
Request: Send a blank email to php-install+get-11094@lists.php.net to get a copy of this message
You have to modify the apachectl script to get around the HPUX thread local storage problem. Add the following to your apachectl script under the 'START CONFIGURATION SECTION': export ORACLE_HOME=/path/to/oracle export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl export LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl -- Jim >>> "NIPP, SCOTT V (SBCSI)" <sn4265@sbc.com> 06/16/03 12:52PM >>> I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system that I have had no luck getting 4.3.2 to work on. The compile and everything went great, but now Apache fails to start complaining about PHP. Here is the output of the Apache start... root@stanley:/sbin/init.d> ./httpd start /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /us r/lib/libcl.2 /usr/lib/dld.sl: Exec format error Syntax error on line 207 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec format error /usr/local/apache/bin/apachectl startssl: httpd could not be started Apache started. At this point, Apache is not actually running. Any help would be most appreciated. Scott Nipp Phone: (214) 858-1289 E-mail: sn4265@sbc.com Web: http:\\ldsa.sbcld.sbc.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#11094) next »