I tried to install. These are the steps I went through and the output of each step (If I am posting to the wrong list or in the improper format please let me know and please excuse me for not knowing).
Install apache 2.0.35 -----------------------------
tar xzvf httpd-2.0.353.tar.gz All files untar without error
cd php-4.1.2
./configure --prefix=/usr/local/apache2 -enable-speling -enable-access -enable-auth -enable-auth_digest -enable-ssl --with-ssl=/usr/local/ssl -enable-so No errors or warnings
make No errors or warnings
make install No errors or warnings
Install PHP 4.1.2 -----------------------------------
tar xzvf php-4.1.2.tar.gz All files untar without error
cd php-4.1.2
./configure --prefix=/usr/local/php4.1.2 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql No errors or warnings - output does state that apxs2 files will be used and mysql support is turned on
make I get the below output -----------cut------------ Making all in sapi make[1]: Entering directory `/root/php-4.1.2/sapi' Making all in apache2filter make[2]: Entering directory `/root/php-4.1.2/sapi/apache2filter' make[3]: Entering directory `/root/php-4.1.2/sapi/apache2filter' /bin/sh /root/php-4.1.2/libtool --silent --mode=compile /root/php-4.1.2/meta_ccld -I. -I/root/php-4.1.2/sapi/apache2filter -I/root/php-4.1.2/main -I/root/php-4.1.2 -I/usr/local/apache2/include -I/root/php-4.1.2/Zend -I/usr/local/mysql/include -I/root/php-4.1.2/ext/xml/expat -D_REENTRANT -I/root/php-4.1.2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_apache_sapi_ub_write': sapi_apache2.c:58: too few arguments to function `apr_brigade_create' sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c: In function `php_apache_sapi_register_variables': sapi_apache2.c:148: warning: initialization discards qualifiers from pointer target type sapi_apache2.c: In function `php_apache_sapi_flush': sapi_apache2.c:171: too few arguments to function `apr_brigade_create' sapi_apache2.c:172: too few arguments to function `apr_bucket_flush_create' sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:245: too few arguments to function `apr_brigade_create' sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade' sapi_apache2.c:247: too few arguments to function `ap_get_brigade' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:311: too few arguments to function `apr_brigade_create' sapi_apache2.c:366: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c:375: too few arguments to function `apr_bucket_eos_create' sapi_apache2.c: In function `php_register_hook': sapi_apache2.c:407: `AP_FTYPE_CONTENT' undeclared (first use in this function) sapi_apache2.c:407: (Each undeclared identifier is reported only once sapi_apache2.c:407: for each function it appears in.) sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter' from incompatible pointer type make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/root/php-4.1.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/php-4.1.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/php-4.1.2/sapi' make: *** [all-recursive] Error 1 -----------cut------------
Jeremy Hines Equipment Technician Compu-Tech, Inc. [EMAIL PROTECTED] voice: 509 884-1542 fax: 509 884-8982
636 Valley Mall Pkwy. Suite 212 East Wenatchee, WA 98802
|
- Re: [PHP-DEV] Install PHP 4.1.2 with Apanche 2.0.35 Jeremy Hines