Hallo,
ich habe nach der Anleitung unter
http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?t=16399
versucht, PHP5/FastCGI zu installieren.
Es läuft auch alles einwandfrei durch, aber letztlich wird nicht der entsprechende Installationsordner /usr/local/php5 inkl. PHP erzeugt.
Es hat fast den Anschein, als würde die Anweisung --prefix=/usr/local/php5 nicht berücksichtigt und auch --enable-fastcgi scheint meine PHP 5.2 nicht zu akzeptieren.
Ein Test mit /usr/local/bin/php-cgi -v ergibt keinerlei Hinweis auf fastcgi.
Nachstehend ein Auszug der Infos aus anfangs genanntem URL.
Hat jemand eine Idee, warum kein /usr/local/php5 erzeugt wird?
Gruss
testit
Quelle:
http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?t=16399
Installing PHP5
----------------
#mkdir /var/src
#cd /var/src
Go to http://www.php.net/downloads.php and choose the php version (currently - 5.2.0) and the mirror for downloading. Copy link location.
#wget "http://us2.php.net/get/php-5.2.0.tar.gz/from/this/mirror"
#tar -zxvf php-5.2.0.tar.gz
#cd php-5.2.0
#vim configure5.php
edit configure5.php as follow:
#sh configure5.php
#make
#make install
EDIT: Hat hier niemand fastcgi im Einsatz?
ich habe nach der Anleitung unter
http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?t=16399
versucht, PHP5/FastCGI zu installieren.
Es läuft auch alles einwandfrei durch, aber letztlich wird nicht der entsprechende Installationsordner /usr/local/php5 inkl. PHP erzeugt.
Es hat fast den Anschein, als würde die Anweisung --prefix=/usr/local/php5 nicht berücksichtigt und auch --enable-fastcgi scheint meine PHP 5.2 nicht zu akzeptieren.
Ein Test mit /usr/local/bin/php-cgi -v ergibt keinerlei Hinweis auf fastcgi.
Nachstehend ein Auszug der Infos aus anfangs genanntem URL.
Hat jemand eine Idee, warum kein /usr/local/php5 erzeugt wird?
Gruss
testit
Quelle:
http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?t=16399
Installing PHP5
----------------
#mkdir /var/src
#cd /var/src
Go to http://www.php.net/downloads.php and choose the php version (currently - 5.2.0) and the mirror for downloading. Copy link location.
#wget "http://us2.php.net/get/php-5.2.0.tar.gz/from/this/mirror"
#tar -zxvf php-5.2.0.tar.gz
#cd php-5.2.0
#vim configure5.php
edit configure5.php as follow:
Code:
#!/bin/sh
./configure \
--prefix=/usr/local/php5 \
--with-config-file-path=/usr/local/etc/php5/cgi \
--with-fastcgi=/usr/local \
--enable-fastcgi \
--enable-force-cgi-redirect \
--disable-cli \
--with-iconv=/usr/local/lib \
--with-bz2 \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit
#sh configure5.php
#make
#make install
EDIT: Hat hier niemand fastcgi im Einsatz?
Zuletzt bearbeitet: