ID:               26474
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hammicool at yahoo dot co dot in
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: linux 9
 PHP Version:      4.3.2
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

With PHP 4.3.4 this works just fine..



Previous Comments:
------------------------------------------------------------------------

[2003-11-30 13:06:32] hammicool at yahoo dot co dot in

Description:
------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-apache2=/usr/src/redhat/SOURCES/httpd-2.0.40   --with-mysql
--enable-sigchild --with-oracle=/disc/u01/app/oracle/product/9.2.0.1.0/
 --with-oci8=/disc/u01/app/oracle/product/9.2.0.1.0/
--with-pgsql=shared

-----------------------
-------------------------------------------------
--------------------------------------------------------
$make
------------------------------------------------------
----------------------------------------------------------------------
  
/*----------------------edited by me --------------------*/
 error before editing the sapi/apache2filter/sapi_apache2.c
/*----------------------------------------------------*/


NT -I/usr/src/redhat/SOURCES/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread
-DZTS -prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of
`ap_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 of
`ap_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/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

/*--------------------------edited by me
(hameed)---------------------*/

     this error getting after i changed the file 
sapi/apache2filter/sapi_apache2.c 's two functions argument that
default is
   


   ap_register_output_filter("PHP",
php_output_filter,AP_FTYPE_RESOURCE);
  ap_register_input_filter("PHP", php_input_filter,AP_FTYPE_RESOURCE);
         

   i added a NULL value as an an argument after getting an help from
net

    ap_register_output_filter("PHP", php_output_filter, NULL,
AP_FTYPE_RESOURCE);
    ap_register_input_filter("PHP", php_input_filter, NULL,
AP_FTYPE_RESOURCE);
 
then i got an error given below 
/*------------------------------------------------------------------*/

---after editing sapi/apache2filter/sapi_apache2.c
$make

make[1]: Entering directory `/usr/src/redhat/SOURCES/php-4.2.2/sapi'
Making all in apache2filter
make[2]: Entering directory
`/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
make[3]: Entering directory
`/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
/bin/sh /usr/src/redhat/SOURCES/php-4.2.2/libtool --silent
--mode=compile gcc  -I.
-I/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter
-I/usr/src/redhat/SOURCES/php-4.2.2/main
-I/usr/src/redhat/SOURCES/php-4.2.2 -I/usr/local/apache2/include
-I/usr/src/redhat/SOURCES/php-4.2.2/Zend
-I/usr/src/redhat/SOURCES/php-4.2.2/ext/mysql/libmysql
-I/disc/u01/app/oracle/product/9.2.0.1.0//rdbms/public
-I/disc/u01/app/oracle/product/9.2.0.1.0//rdbms/demo
-I/disc/u01/app/oracle/product/9.2.0.1.0//plsql/public
-I/usr/src/redhat/SOURCES/php-4.2.2/ext/xml/expat  -D_REENTRANT
-I/usr/src/redhat/SOURCES/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread
-DZTS -prefer-pic  -c php_functions.c
php_functions.c:93:27: missing binary operator before '('
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory
`/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/redhat/SOURCES/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/php-4.2.2/sapi'
make: *** [all-recursive] Error 1


down you'll see !MODULES_XXXXX  Change that to !AP_MODULES




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26474&edit=1

Reply via email to