Re: Compiling PHP as static mod

From: Date: Thu, 06 Jun 2002 02:12:58 +0000
Subject: Re: Compiling PHP as static mod
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100854@lists.php.net to get a copy of this message
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


« previous php.general (#100854) next »