I'm trying to compile php-4.1.2 as a DSO module for Apache-0.32. I don't have enough space in the default location so I put them both in /d2/usr2/local/...
I couldn't make the stable/release versions on Apache or PHP compile so I tried the latest versions of each. For the Apache I used: ./configure --prefix=/d2/usr2/local/apache --enable-so --with-mpm=prefork It seems to behave fine. For the PHP I used: ./configure --prefix=/d2/usr2/local/php --with-apxs2=/d2/usr2/local/apache/b in/apxs It configures fine but fails on the make: make[3]: Entering directory `/d2/downloads/php-4.2.0RC1/sapi/apache2filter' /bin/sh /d2/downloads/php-4.2.0RC1/libtool --silent --mode=compile gcc -I. -I/d2/downloads/php-4.2.0RC1/sapi/apache2filter -I/d2/downloads/php -4.2.0RC1/main -I/d2/downloads/php-4.2.0RC1 -I/d2/usr2/local/apache/include -I/d2/downloads/php-4.2.0RC1/Zend -I/d2/downloads/php-4.2.0RC1/ext/mysql/lib mysql -I/d2/downloads/php-4.2.0RC1/ext/xml/expat -D_REENTRANT -I/d2/downloa ds/php-4.2.0RC1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:473: `AP_FTYPE_RESOURCE' undeclared (first use in this function) sapi_apache2.c:473: (Each undeclared identifier is reported only once sapi_apache2.c:473: for each function it appears in.) make[3]: *** [sapi_apache2.lo] Error 1 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php