Page 1 of 1
PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 16:35
by tobi
Hallo,
ich habe eine Frage, ich habe vor kurzem meinem Server auf Squeeze geupdatet. Jetzt würde ich gerne PHP5.2 parallel zu 5.3 installieren. Ich benutze Froxlor als Adminsoftware mit fcgi.
Ich habe eine Howto
http://blog.davejamesmiller.com/2011/03 ... -0-squeeze gefunden, doch bekomme beim configure folgende Fehlermeldungen:
Code: Select all
configure: warning: --prefix=/usr/share/php52: invalid host type
configure: warning: --enable-fastcgi: invalid host type
configure: error: can only configure for one host and one target at a time
Wäre um Hilfe sehr dankbar, hab ähnliches auch im Froxlor-Forum gefragt, doch gibt es vermutlich hier mehr Leser.
http://forum.froxlor.org/index.php?/top ... -anbieten/
Vielen Dank
Tobi
Re: PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 17:51
by Joe User
Poste bitte den kompletten Configure-Aufruf, danke.
Re: PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 17:54
by tobi
dies ist mein Configure Aufruf, ich habe leider damit keine große Erfahrung:
./configure \
--prefix=/usr/share/php52 \
--enable-fastcgi \
--enable-force-cgi-redirect \
--with-config-file-path=/etc/php52/cgi \
--with-config-file-scan-dir=/etc/php52/cgi/conf.d \
--bindir=/usr/bin/php52\
--with-libdir=lib64\
--includedir=/usr/include\
--with-regex=php \
--enable-session\
--enable-calendar \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-iconv \
--enable-exif \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--with-pcre-regex \
--enable-shmop \
--enable-sockets \
--enable-wddx \
--with-libxml-dir=/usr \
--with-zlib \
--with-openssl=/usr \
--enable-soap \
--enable-zip \
--with-mhash=yes \
--with-gd \
--with-mysql=/usr/bin/mysql_config \
--with-mysqli \
--with-pdo-mysql \
--with-pear \
--with-jpeg-dir=/usr/lib
Re: PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 17:59
by Joe User
tobi wrote:Code: Select all
configure: warning: --prefix=/usr/share/php52: invalid host type
configure: warning: --enable-fastcgi: invalid host type
configure: error: can only configure for one host and one target at a time
Da Du weder --host noch --target explizit setzt, ist das ein Bug in irgendeinem der beteiligten Debian-Pakete.
Abhilfe: Auf Bugfix warten oder ein vernünftiges OS einsetzen.
Re: PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 18:07
by tobi
könntest du mir einen tipp geben wie eine configure aussehen muss damit es klappt?
Re: PHP5.2 neben PHP5.3 in Debian Squeeze installieren
Posted: 2011-03-20 18:22
by Joe User
Das Configure ist schon richtig, aber ein beteiligtes Debian-Paket ist offenbar kaputt, daher kann es momentan nie funktionieren.