PHP and Apache

From: Date: Mon, 13 Aug 2001 19:02:44 +0000
Subject: PHP and Apache
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-62478@lists.php.net to get a copy of this message
hello everyone- I was wondering if any of you had a problem compiling Apache 1.3.20 with mod_php4? Because I can compile, make, make install for redhat 7.1 for php 4.0.6. When I run my configure script for apache i have --activate-module=src/modules/php4/libmodphp.a as one of the lines in the script. I run my script and everything works fine. Then I try to run make and i get some errors when it gets to the php part. Here's what it says: ===> src/modules/php4 gcc -c -I../../os/unix -I../../include -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP AT -I../../lib/expat-lite ../../apaci mod_php4.c mod_php4.c:28:18: zend.h: No such file or directory mod_php4.c:29:17: php.h: No such file or directory mod_php4.c:30:27: php_variables.h: No such file or directory mod_php4.c:47:21: php_ini.h: No such file or directory mod_php4.c:48:25: php_globals.h: No such file or directory mod_php4.c:49:18: SAPI.h: No such file or directory mod_php4.c:50:22: php_main.h: No such file or directory mod_php4.c:52:26: zend_compile.h: No such file or directory mod_php4.c:53:26: zend_execute.h: No such file or directory mod_php4.c:54:28: zend_highlight.h: No such file or directory mod_php4.c:55:25: zend_indent.h: No such file or directory mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory make[4]: *** [mod_php4.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/updates/apache_1.3.20/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/updates/apache_1.3.20' make: *** [build] Error 2 I'm not too sure where apache is looking for these files but i've tried copying each one of these files to the /home/updates/apache_1.3.20/src directory but it still can't find them. Is there any way to get this to work? Thanks, Jay

« previous php.general (#62478) next »