|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-19 02:04 UTC] shawn dot m at microcore dot net
Ok... I'm trying to install PHP 4 (Latest version), crashes HTTPD when installed. Figured it needed the latest version of Apache Web Server, went downloaded it, installed it (compiled then installed) I try making the DSO and static module, both times, same thing. I would like a static module, but here's what I'm getting... [root@centri src]# ./Configure Using config file: Configuration Creating Makefile + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in support Creating Makefile in regex Creating Makefile in os/unix Creating Makefile in ap Creating Makefile in main Creating Makefile in lib/expat-lite Creating Makefile in modules/standard Creating Makefile in modules/php4 ===================== Great.. Everything looks great!! I'm happy.. Now let's run a make... Output from 'make' ============================= <=== modules/standard ===> modules/php4 gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED mod_php4.c mod_php4.c:28: zend.h: No such file or directory mod_php4.c:29: php.h: No such file or directory mod_php4.c:30: php_variables.h: No such file or directory mod_php4.c:31: SAPI.h: No such file or directory mod_php4.c:48: php_ini.h: No such file or directory mod_php4.c:49: php_globals.h: No such file or directory mod_php4.c:50: SAPI.h: No such file or directory mod_php4.c:51: php_main.h: No such file or directory mod_php4.c:53: zend_compile.h: No such file or directory mod_php4.c:54: zend_execute.h: No such file or directory mod_php4.c:55: zend_highlight.h: No such file or directory mod_php4.c:56: zend_indent.h: No such file or directory mod_php4.c:58: ext/standard/php_standard.h: No such file or directory make[2]: *** [mod_php4.o] Error 1 make[1]: *** [all] Error 1 make: *** [subdirs] Error 1 ============================== Crap.. what did I do wrong? There are files under the modules/php4 directory, but the include (header) files are not there. I've been working on this for about a week now, and I've read every FAQ and bug report that I could. This is my last hope.. Now I just want some 12 year old to point out to me what I'm doing wrong. (But you don't have to be 12 to reply and give help to me.. :) ) Thanks everyone!! :) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 15:00:01 2025 UTC |
My problem disappeared when I wrote exactly "libphp4.a" when configuring apache (the second time you call ./configure) # ./configure --prefix=/usr/local/apache \ --enable-module=rewrite \ --activate-module=src/modules/php4/libphp4.a At first I didn't use libphp4.a because that file doesn't exists, so I thought that was an error but it isn't. I hope this is useful