When I try to compile php as a static module in php I get errors that the
mod_php4.c cannot find the header file.

Here is my php configuration:

./configure --build=i386-redhat-linux-gnu --prefix=/usr/local/php
--with-apache=/usr/local/apache --with-sybase-ct=/sybase --with-mysql=/usr
--enable-exif --with-gd --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/local/lib --with-zlib --with-config-file-path=/etc
--with-freetype-dir=/usr/local/lib --with-regex=system --enable-xml
--enable-dbx --enable-bcmath --enable-calendar --enable-magic-quotes
--enable-inline-optimization --enable-trans-sid --oldincludedir=/usr/include
--libdir=/usr/lib


Here is my apache configuration:
./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a


Basically, apache cannot find PHP's header files.


Any help would be much appreciated.

Thank you,

RAY HUNTER


Reply via email to