confused: Apache 2 Final wurde heute releast!

Beitrag lesen

Hoi,

Tag auch.

The current stable release is Apache 2.0.35

Jetzt heisst es, erfahrungen zu sammeln, wie es mit dem support von SSL und PHP aussieht.

Das ist leicht, PHP unterstützt Apache 2.0 praktisch überhaupt nicht.

Das ist leider nicht richtig. PHP laeuft mit dem Apache2 als CGI-Version und als
Modul (./configure --with-apxs2).

Also wenn ich bei PHP 4.1.2
"./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/httpd/bin/apxs --enable-track-vars --with-java=/usr/lib/java"
nachdem ich den Apache 2 lauffähig installiert habe, dann kommt bei mir während 'make'

...
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
THE END!

Und Nu?!
sieht für mich nach einem Problem von PHP aus, wenn ich den Apache 2 verwenden will, der ja zuvor lauffähig installiert wurde. Oder ist das apxs Script nicht vernünftig gebaut worden?

Was könnte man dagegen tun? Also: was muß man tun, damit das so erzeugt wird, das PHP damit was anfangen kann - wenn das den überhaupt das Problem ist?

bis denn
confused