Hi In your php config give it the path to the apache source files not the install directory. Tom
At 11:55 AM 6/06/2002, Ray Hunter wrote: >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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php