php4 & apache2 ?
| From: | Timothy Wojtaszek | Date: | Mon, 16 Apr 2001 06:58:19 +0000 |
| Subject: | php4 & apache2 ? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2790@lists.php.net to get a copy of this message | ||
Where can I get more information on (1) if this is even possible yet - I know that php4 has a --with-apxs2 option, but I get this:
---------------make output -------------------------------
make[1]: Entering directory `/opt/Project_Yuuto/php-4.0.4pl1/sapi/apache2filter'
/bin/sh /opt/Project_Yuuto/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/opt/Project_Yuuto/php-4.0.4pl1/sapi/apache2filter -I/opt/Proj
ect_Yuuto/php-4.0.4pl1/main -I/opt/Project_Yuuto/php-4.0.4pl1 -I/opt/apache/include -I/opt/apache/include/apr -I/opt/Project_Yuuto/php-4.0.4pl1/Z
end -I/opt/Project_Yuuto/php-4.0.4pl1/ext/xml/expat/xmltok -I/opt/Project_Yuuto/php-4.0.4pl1/ext/xml/expat/xmlparse -I/opt/Project_Yuuto/php-4.0.
4pl1/TSRM -D_REENTRANT -DXML_BYTE_ORDER=12 -I../TSRM -g -O2 -pthread -c sapi_apache2.c
In file included from sapi_apache2.c:44:
php_apache.h:24: parse error before `ap_bucket_brigade'
php_apache.h:24: warning: no semicolon at end of struct or union
php_apache.h:32: parse error before `}'
php_apache.h:32: warning: data definition has no type or storage class
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:49: `ap_bucket' undeclared (first use in this function)
sapi_apache2.c:49: (Each undeclared identifier is reported only once
sapi_apache2.c:49: for each function it appears in.)
sapi_apache2.c:49: `b' undeclared (first use in this function)
sapi_apache2.c:50: `ap_bucket_brigade' undeclared (first use in this function)
sapi_apache2.c:50: `bb' undeclared (first use in this function)
sapi_apache2.c:51: `ctx' undeclared (first use in this function)
sapi_apache2.c:52: parse error before `now'
sapi_apache2.c:55: `sapi_globals' undeclared (first use in this function)
sapi_apache2.c:61: `now' undeclared (first use in this function)
sapi_apache2.c: In function `php_apache_sapi_header_handler':
sapi_apache2.c:77: `ctx' undeclared (first use in this function)
sapi_apache2.c:78: parse error before `char'
sapi_apache2.c:80: `val' undeclared (first use in this function)
sapi_apache2.c: In function `php_apache_sapi_send_headers':
sapi_apache2.c:105: `ctx' undeclared (first use in this function)
sapi_apache2.c: In function `php_apache_sapi_read_post':
sapi_apache2.c:117: `ctx' undeclared (first use in this function)
sapi_apache2.c: In function `php_apache_sapi_read_cookies':
sapi_apache2.c:136: `ctx' undeclared (first use in this function)
sapi_apache2.c:137: parse error before `const'
and (2) how to properly do this, I have read to only put AddOutputFilter...., or LoadModule... in httpd.conf, but first I need a DSO.
All I need is some direction please.
Thanks - tim