Hi,
I am trying to install
* Apache 1.3.9 (with DS0 support)
* mm-1.0.12 (static)
* mod_ssl 2.4.9 (as DSO)
* php-3.0.12 (as DSO via APXS)
on a HP-UX 11.00 R class server with PA-RISC 2.0 architecture
and gcc 2.95.2. Because I want the most runtime flexibility I
want to install everything as a dynamical module. After studying
inches of manuals I did this:
1) Unpack the source
cd /opt/apache/src
gzcat apache_1.3.9.tar.gz |tar -xvf -
gzcat mm-1.0.12.tar.gz |tar -xvf -
gzcat mod_ssl-2.4.9-1.3.9.tar.gz | tar -xvf -
gzcat php-3.0.12.tar.gz | tar -xvf -
2) Install MM shared memory library
cd mm-1.0.12
./configure --prefix=/opt/apache --disable-shared
make; make test; make install;
cd ..
3) Preparing SSL module
cd mod_ssl-2.4.9-1.3.9
./configure --verbose --with-apache=../apache_1.3.9
cd ..
4) Compile Apache
SSL_BASE=/opt/openssl EAPI_MM=/opt/apache \
./configure --verbose --prefix=/opt/apache \
--enable-module=most --enable-shared=max
make
make certificate TYPE=dummy
make install
cd ..
5) Adding PHP3 module
cd php-3.0.12
CFLAGS='-O2 -I/opt/openssl/include' \
./configure --with-apxs=/opt/apache/bin/apxs \
--with-config-file-path=/opt/apache \
--with-gdbm=/opt/gnu
make; make test; make install
Problems:
---------
#1: Isn't it possible to add mod_ssl via APXS after compiling Apache?
#2: Apache+SSL works and Apache+PHP3 works
but ... Apache+SSL+PHP3 does not work.
Error Message after starting Apache:
/usr/lib/dld.sl: Unresolved symbol: parsedate (code) from
/opt/apache/libexec/libphp3.so
Syntax error on line 242 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp3.so into server: Unresolved external
#3: "make test" in the PHP3 module causes these error messages:
<test xxx> ..../testphp[23]: ../php: not found.
FAILED
This happens both on HP-UX 11.00 and RedHat 6.0.
Configuring with the same options on a RedHat 6.0 Linux PC
works perfect. Maybe it works when I compile everything statically
but I don't want so.
The several additional changes in the source code and Makefiles are obmitted here.
I'm getting tired of compiling software on HP-UX ... always compiler errors
Thanks in advance for any help.
Regards,
Bernd
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]