More PHP Config problems (PHP 4.04pl1/Apache 1.3.19/RedHat 7.0)
| From: | PHP Mailing List User | Date: | Mon, 21 May 2001 19:45:55 +0000 |
| Subject: | More PHP Config problems (PHP 4.04pl1/Apache 1.3.19/RedHat 7.0) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3231@lists.php.net to get a copy of this message | ||
I'm attempting to make an php4 module for Apache by using the following
process:
in the Apache source dir:
./configure
in the PHP dir:
./configure --with-mysql --with-apache=/tmp/apache_1.3.19 --with-ldap
--with-imap --enable-track-vars --enable-magic-quotes --with-ldap
--enable-trans-sid --enable-force-cgi-redirect
make ; make install
back in the Apache dir:
./configure --bindir=/usr/local/apache/bin --sbindir=/usr/local/apache/bin
--libexecdir=/usr/local/apache/libexec --datadir=/data/httpd --enable-module=so
--activate-module=src/modules/php4/libmodphp4.a --enable-module=modphp4
make
'bout 3-5 minutes into the compile though, it bombs out saying its missing
a bunch of header files (the exact output is below):
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 `/tmp/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.19'
make: *** [build] Error 2
Any thoughts?
Thanks,
Jeremy