OK, I searched back to May of last year and didn't find anything relevant to this, so here goes. I have a Solaris 7 server. I am using the gcc-2.95.3 compiler I have the following supporting tools installed: GNU - autoconf v2.13 bc v1.06 binutils v2.11 bison v2.18 gperf v2.72 m4 v1.4 make v2.79.1 patch v2.54 tar v1.13 texinfo 4.0 MISC - perl v5.6.1 zlib v1.1.3 I have successfully compiled OpenSSL v0.9.7, OpenSSH 2.5.2p2 and Apache 1.3.19 with the Apache-SSL options. On adding PHP I first tried the shared object libraries using the -- with-apxs option. However, the PHP engine would not start. So I went back to try the static libraries, read the INSTALL and the F.A.Q. (section 6.9 - stating that the php4 directory is automagically generated), which both state that I need to add --activate- module=src/modules/php4/libphp4.a to my Apache and re-compile. OK, no problem, so on running the ./configure with these options: --with-layout=Solaris --activate-module=src/modules/php4/libphp4.a --enable-module=so I get this error: ===> src/modules/php4 /bin/sh: php4: does not exist gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/home/src/apache_1.3.19/src/modules/' gmake[2]: *** [subdirs] Error 1 gmake[2]: Leaving directory `/home/src/apache_1.3.19/src' gmake[1]: *** [build-std] Error 2 gmake[1]: Leaving directory `/home/src/apache_1.3.19' gmake: *** [build] Error 2 # So I went looking in the php-4.0.5 source directory for the php4 subdirectory. The only one I found was under sapi/apache and did not have a libphp4.a built nor a working Makefile. OK, so then I figured I needed to re-build PHP using the --with-apache instead of the --with-apxs option. No problem. Except on running ./configure with these options: --with-apache=/usr/apache/include I get this error: checking for Apache module support... no configure: error: Invalid Apache directory - unable to find httpd.h under /usr/apache/include # ls -l /usr/apache/include/httpd.h -rw-r--r-- 1 root other 45572 May 7 18:13 /usr/apache/include/httpd.h # httpd -l http_core.c ... mod_so.c suexec: disabled: invalid wrapper /usr/apache/bin/suexec # I have also tried --with-apache=/usr/apache/include/httpd.h and gotten the same error. So, in conclusion, I cannot seem to get the shared modules to work, I cannot get the static module to "automagick" itself and I cannot get the static PHP to recognize that Apache exists (never mind the fact that it's serving up web pages...). Can anyone suggest anything I haven't tried yet? Thanks, - Ed -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]