Dear gurus,
I did succed in joining php4 (as a DSO module) and Apache-2.0.40 on our
Tru64 5.1A cluster.
The problem has been solved simply telling CC to use -ptrhead
setenv CC -pthread
before configuring and making both apache
./configure --prefix=/usr/local/apache-2.0.40 --enable-mods-shared=most
gmake
gmake install
and php
./configure --with-mysql --with apxs2=/usr/local/apache-2.0.40/bin/apxs
--with-pdflib=/usr/local/pdflib
--with-jpg-dir==usr/local/lib
--with-tiff-dir=/usr/local/lib
--with-png-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib
--prefix=/usr/local/php4-STABLE-200208220000
--with-java=/usr/opt/java130
gmake
gmake install
The php.ini file I'm using is the same of the php4.2.2 version and it is
located in /usr/local/php4-STABLE-200208220000 (--prefix)
apache-status returns:
Server Version: Apache/2.0.40 (Unix) PHP/4.2.3-dev DAV/2
Server Built: Aug 23 2002 10:19:31
phpinfo() returns:
PHP Version 4.2.3-dev
System OSF1 XXXXX.XXXXXX.XXXXXXX.XXXXXXX V5.1 1885 alpha
Build Date Aug 23 2002 10:54:19
Configure Command './configure' '--with-mysql' '--with-apxs2=/usr/local/apache-2.0.40/bin/apxs'
'--with-pdflib=/usr/local/pdflib' '--with-jpg-dir==usr/local/lib'
'--with-tiff-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-zlib-dir=/usr/local/lib' '--prefix=/usr/local/php4-STABLE-200208220000_APACHE2' '--with-java=/usr/opt/java130'
Server API Apache 2.0 Filter
Virtual Directory Support enabled
Configuration File (php.ini) Path /usr/local/php4-STABLE-200208220000_APACHE2/lib/php.ini
Debug Build no
Thread Safety enabled
Hardware: COMPAQ AS4100 & ES40
OS: COMPAQ Tru64 Cluster 5.1A 2nd patch
cc: Compaq C V6.4-215 (dtk)
many thanks to Mike Caplin.
Emanuele
--
$$$ Emanuele Lombardi
$$$ mail: ENEA CLIM Casaccia
$$$ I-00060 S.M. di Galeria (RM) ITALY
$$$ mailto:emanuele.lombardi_at_casaccia.enea.it
$$$ tel +39 0630483366
$$$ fax +39 0630484264 |||
$$$ \|/ ;_;
$$$ What does a process need | /"\
$$$ to become a daemon ? | \v/
$$$ | |
$$$ - a fork o---/!\---
$$$ | |_|
$$$ | _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$ It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are.
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS
Received on Fri Aug 23 2002 - 14:06:51 NZST