PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP 4.2.1 will nicht mit Apache 2.0.36



giga
07.06.02, 16:25
Hallo,

ich versuche seit etwa 45 Minuten PHP 4.2.1 mit Apache 2.0.36 in Betrieb zu nehmen, leider bekomme ich bei PHP bei ./configure immer ffolgenden Fehler:

checking for mod_charset compatibility option... yes
checking for Apache 2.0 module support via DSO through APXS...

Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
Usage: apxs -g [-S <var>=<val>] -n <modname>...[/I]

Ich habe Apache so mit diesen Optionen kompiliert:
--enable-module=so --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/apache --localstatedir=/var --datadir=/var/www --enable-module=most --enable-shared=max --includedir=/usr/include/apache

und PHP versuche ich so zu kompilieren:
./configure --prefix=/usr --with-apxs2 --with-mod_charset --enable-force-cgi-redirect --enable-discard-path --with-config-file-path=/etc/apache --enable-safe-mode --with-openssl --enable-bcmath --with-bz2 --enable-calendar --enable-ctype --with-gdbm --with-db2 --with-db3 --enable-dbase --enable-ftp --enable-gd-imgstrttf --with-gmp --with-mysql=/usr --with-xml=shared --with-mm=/usr --enable-trans-sid --enable-shmop --enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit --with-tsrm-pthreads --enable-shared --disable-debug --with-zlib=/usr

Leider bekomme ich halt immer den oben genannten Fehler bei configure. Hat jemand ne Idee woran es liegen könnte? Bei groups.google.de hab ich nix passendes gefunden, alle da haben --with-apxs2 vergessen. Achja, mit --with-apxs2=/usr/sbin/apxs gehts auch nicht :(

giga
07.06.02, 16:50
Wenn ich Apache mit Slackware-Layout kompiliere gehts, aber das will ich nicht. Was ein ****** :(