So simple, but true. I just followed the instructions exactly and didn't look to see if libphp4.a was actually there. It was created on the fly by Apache. Thanks very much to Chad and Jurgen for the help.
jim Jürgen Schoch wrote: > > Hi James, > maybe it's a typo: > in php configure you use > --with-apache=../apache_.1.3.23 > but then you use > cd apache_1.3.23 > One dot missing or too much?! > > make install in php will copy the necessary files to src/modules/php4 in the > directory given --with-apache= > > James Austin wrote: > > > Hello, > > > > It has been days and many attempts to install PHP on Linux RedHat 7.1. > > I've tried RPMs and compiles to no avail. Can please someone help? > > > > Here is the latest documentation steps I've tried: > > > > cd apache_1.3.23 > > ./configure > > > > cd ../php-4.1.2 > > ./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 > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php