RE: [PHP-DEV] Installation Bug of Alpha 2 of PHP w/ the Zend Engine 2 when compiling with APXS2 support.....
| From: | James Cox | Date: | Tue, 06 Aug 2002 09:41:35 +0000 |
| Subject: | RE: [PHP-DEV] Installation Bug of Alpha 2 of PHP w/ the Zend Engine 2 when compiling with APXS2 support..... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86562@lists.php.net to get a copy of this message | ||
use latest cvs of Apache2.
>
> I was trying to install PHP4.3 with Zend 2 engine over Apache 2.0.39 and
> when i run make it failed. The installation was successfull when
> i made the
> following changes.
>
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> --prefix=/usr/local/new
> php
>
> compiled and installed apache in /usr/local/apache2
>
> Thanks.
>
>
> --- sapi/apache2filter/sapi_apache2.c Fri Jun 28 14:45:10 2002
> +++ ../../php-4.3.0-dev-zend2-alpha2/sapi/apache2filter/sapi_apache2.c Mon
> Aug 5 13:24:08 2002
> @@ -564,8 +564,8 @@
> ap_hook_post_config(php_apache_server_startup, NULL, NULL,
> APR_HOOK_MIDDLE);
> ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
> ap_hook_post_read_request(php_post_read_request, NULL, NULL,
> APR_HOOK_MIDDLE);
> - ap_register_output_filter("PHP", php_output_filter, NULL,
> AP_FTYPE_RESOURCE);
> - ap_register_input_filter("PHP", php_input_filter, NULL,
> AP_FTYPE_RESOURCE);
> + ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
> + ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
> }
>
> AP_MODULE_DECLARE_DATA module php4_module = {
>
>
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>