Thanks undertow for the response.
ok I tried that and it did't work. so I deleted every instance of PHP and Apache and reinstalled both. First I did just a configure with apache and then I did a configure, make, make install, with PHP. With a little fussing around I got this to work with mysql. Well that is the way it was configured anyways, I have not been able to test it.
I did a configure with prefix and activate module this did not work
Then I did just a configure with a prefix for apache and this worked find and my webserver works fine. Then I tried to activate the mod_php4 again and again I run into problems.
this time I have a different file though instead of libphp4.a I have libmodphp4.a
so now at my prompt I have
#./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/php4/libmodphp4.a
results
same as previous
or at least as near.
#make
results
===> src
make[1]: Entering directory /usr/src/apache_1.3.9'
make[2]: Entering directory/usr/src/apache_1.3.9/src'
===> src/regex
make[3]: Nothing to be done for all'.
<=== src/regex
===> src/os/unix
make[3]: Nothing to be done forall'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for all'.
<=== src/ap
===> src/main
make[3]: Nothing to be done forall'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[4]: Nothing to be done for all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done forall'.
<=== src/modules/standard
===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite ../../apaci mod_php4.c
make[2]: Leaving directory /usr/src/apache_1.3.9/src'
make[1]: Leaving directory/usr/src/apache_1.3.9'
In file included from zend.h:48,
from mod_php4.c:28:
zend_config.h:1:32: ../main/php_config.h: No such file or directory
In file included from zend.h:154,
from mod_php4.c:28:
zend_alloc.h:26:26: ../TSRM/TSRM.h: No such file or directory
In file included from mod_php4.c:29:
php.h:157:23: safe_mode.h: No such file or directory
In file included from mod_php4.c:29:
php.h:164:28: fopen_wrappers.h: No such file or directory
In file included from mod_php4.c:29:
php.h:304:30: tsrm_virtual_cwd.h: No such file or directory
In file included from ext/standard/php_standard.h:21,
from mod_php4.c:57:
ext/standard/basic_functions.h:27:28: zend_highlight.h: No such file or directory
In file included from ext/standard/php_standard.h:33,
from mod_php4.c:57:
ext/standard/php_ext_syslog.h:26:24: php_syslog.h: No such file or directory
In file included from ext/standard/php_standard.h:43,
from mod_php4.c:57:
ext/standard/fsock.h:32:25: php_network.h: No such file or directory
In file included from mod_php4.c:57:
ext/standard/php_standard.h:55:24: php_output.h: No such file or directory
make[4]: [mod_php4.o] Error 1
make[3]: [all] Error 1
make[2]: [subdirs] Error 1
make[1]: [build-std] Error 2
make: *** [build] Error 2
I have tried moving files to every directory but to no avail. I am lost at what to do now can anyone help.