php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12616 Apache make fails, can't find php header files
Submitted: 2001-08-07 06:52 UTC Modified: 2001-08-20 10:32 UTC
From: david dot cumming at env dot qld dot gov dot au Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.5 OS: Redhat Linux 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david dot cumming at env dot qld dot gov dot au
New email:
PHP Version: OS:

 

 [2001-08-07 06:52 UTC] david dot cumming at env dot qld dot gov dot au
apache_1.3.19# ./configure --prefix=/usr/local/apache
php-4.05# ./configure --with-mysql --enable-track-vars --with-apache=../apache_1.3.19
php-4.05# make -ok, make install - ok
apache_1.3.19# ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libmodphp4.a - ok
apache_1.3.19# make -errors see below

gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci`  mod_ph4.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
etc.

I tried to change the gcc command to include the /usr/local/include directory in which the missing files are located (well they are under that directory) however it caused another bunch of dependency problems.

I have had this problem with Redhat7.0 all versions of php and apache I could get my hands on.

I can't find any reports of this problem, and don't see what I may be doing wrong.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-07 08:56 UTC] andy@php.net
does this stil happen with latest CVS???

http://snaps.php.net
 [2001-08-20 10:32 UTC] sniper@php.net
Ask support questions on proper mailing list:

http://www.php.net/support.php

You most likely haven't followed the install instructions
given in INSTALL file.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC