Hi!

I'm trying to install apache with PHP under linux, but I'm having some
trouble...
I've tried to install it on two machines, with 3 versions of PHP (4.03,
4.0.5, 4.0.6), and 3 versions of apache web server.
I always get the same errors.

====
in the Apache source dir:
/configure

in the PHP dir:
/configure --with-mysql --with-apache=../apache_1.3.19
 --enable-track-vars --enable-sockets

make ; make install

back in the Apache dir:
/configure --prefix=/usr/local/apache --enable-module=rewrite
--activate-modulesrc/modules/libphp4.a

make
===============

There are header files it cannot find:
-------------------
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
--------------------------------

Does anyone know why this happens?

Cheers,
Olav



-- 
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]

Reply via email to