Ich bin mir nicht sicher, ob dies der richtige Bereich ist, aber notfalls bitte verschieben.
Folgendes Problem. Ich versuche seit Tagen, auf meinem SuSE 9.1 PHP5 zu installieren. Dabei nutze ich den Apache2, der mit der Installation von SuSE mitgeliefert wird.
Ich habe mir das aktuelle tgz von php.net geladen und nach
/usr/share/php-5.0.2
entpackt.
Die Konfiguration nehme ich wie folgt vor:
./configure --prefix=/usr --datadir=/usr/share/php --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --enable-safe-mode --enable-sigchild --with-apxs2=/usr/sbin/apxs2-prefork --enable-bcmath --enable-calendar --enable-ftp --with-mysql --with-pear
Das klappt ohne Probleme, auch das anschliessende "make" funktioniert. Rufe ich dann "make install" auf erhalte ich folgende Fehlermeldung:
linux:/usr/share/php-5.0.2 # make install
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la /usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp5.la /usr/lib/apache2-prefork/
cp .libs/libphp5.so /usr/lib/apache2-prefork/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-prefork/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/share/php-5.0.2/libs'
chmod 755 /usr/lib/apache2-prefork/libphp5.so
apxs:Error: Activation failed for custom /etc/apache2/httpd2-prefork.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Fehler 1
Zuerst hat er nach der httpd2-prefork.conf verlangt, hier habe ich jetzt einfach die aktuelle httpd.conf kopiert und umbenannt.
Aber ich verstehe nicht wirklich, was er von mir will. Kann mir jemand einen Denkanstoss geben?
Mit der PHP-Version 4.3.9 klappt es ohne Probleme...?! :roll:
Folgendes Problem. Ich versuche seit Tagen, auf meinem SuSE 9.1 PHP5 zu installieren. Dabei nutze ich den Apache2, der mit der Installation von SuSE mitgeliefert wird.
Ich habe mir das aktuelle tgz von php.net geladen und nach
/usr/share/php-5.0.2
entpackt.
Die Konfiguration nehme ich wie folgt vor:
./configure --prefix=/usr --datadir=/usr/share/php --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --enable-safe-mode --enable-sigchild --with-apxs2=/usr/sbin/apxs2-prefork --enable-bcmath --enable-calendar --enable-ftp --with-mysql --with-pear
Das klappt ohne Probleme, auch das anschliessende "make" funktioniert. Rufe ich dann "make install" auf erhalte ich folgende Fehlermeldung:
linux:/usr/share/php-5.0.2 # make install
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la /usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp5.la /usr/lib/apache2-prefork/
cp .libs/libphp5.so /usr/lib/apache2-prefork/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-prefork/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/share/php-5.0.2/libs'
chmod 755 /usr/lib/apache2-prefork/libphp5.so
apxs:Error: Activation failed for custom /etc/apache2/httpd2-prefork.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Fehler 1
Zuerst hat er nach der httpd2-prefork.conf verlangt, hier habe ich jetzt einfach die aktuelle httpd.conf kopiert und umbenannt.
Aber ich verstehe nicht wirklich, was er von mir will. Kann mir jemand einen Denkanstoss geben?
Mit der PHP-Version 4.3.9 klappt es ohne Probleme...?! :roll:
