You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Austin <au...@cruzio.com> on 2002/03/12 00:12:40 UTC

apache make falure with php

Hello,

It has been days and many attempts to install PHP as an apache module on
Linux RedHat 7.1.  I've tried RPMs and compiles to no avail.  Not sure
if the problem is with apache install or php.  Can someone please help?

Here is the latest documentation steps I've tried:

cd apache_1.3.23
make clean
./configure

cd ../php-4.1.2
rm config.cache
make clean
./configure --with-mysql --with-apache=../apache_.1.3.23
--enable-track-vars
make && make install

cd ../apache_1.3.23
./configure --activate-module=src/modules/php4/libmodphp4.a
(here the docs says php3/libphp3.a, but since this doesn't exist I have
selected libmodpbp4.a, could this be the problem?)
make 

Below is the last few lines of the make: 

===> src/modules/php4
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX
`../../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/auji/apache_1.3.23/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/auji/apache_1.3.23'
make: *** [build] Error 2

Thanks very much for any thoughts on why I don't have these files after
many attempts.  Shouldn't these file be created whem I make php?

jim


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org