Ok I had so much fun installing php-4.2.2 I decided to try installing apache-2.0.4 also. This is how I installed them after I unpacked the files.
cd /usr/local/etc/apache
./configure --enable-layout=RedHat --enable-module=so
make
make install
cd /usr/local/etc/php
./configure --with-mysql=/usr --with-apxs2=/usr/sbin/apxs
make
make install
The apache install worked fine, however the php did not. During the 'make' right at the end it displayed this;
sapi_apache2.c: In function php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 ofap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 ofap_register_input_filter' makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory/usr/local/etc/php-4.2.2/sapi/apache2filter'
make[2]: [all-recursive] Error 1
make[2]: Leaving directory /usr/local/etc/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/usr/local/etc/php-4.2.2/sapi'
make: [all-recursive] Error 1
I kind of ignored it to see if it would work anyway. But I get an error;
Syntax error on line 232 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms
I think that libphp4.so is still from apache-1.3.6 right? When does the new libphp4.so get made?
Also in the apache-1.3.6 modules directory there where a lot of .so files. In apache-2.0.4 there is only one file in the modules directory, namely httpd.exp, is this correct?
Thanks
Carlos