Current time: 05-20-2024, 09:53 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] ispCP & phpfarm / mehrere PHP Versionen
Author Message
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
Reputation: 0
Post: #5
RE: ispCP & phpfarm / mehrere PHP Versionen
Ok das Problem ist gelöst...

Ist Brezen einfach, hatte eine ganz falsche Herangehensweise.


# apt-get install git libxml2-dev libssl-dev libpcre3-dev libbz2-dev libcurl4-openssl-dev libjpeg8-dev
# apt-get install libpng12-dev libxpm-dev libfreetype6-dev libmysqld-dev

==> download php version der wahl in /tmp ==> entpacken
Code:
./configure --prefix=/usr/share/php5213 --datadir=/usr/share/php5213 --mandir=/usr/share/man --bindir=/usr/bin/php5213 --with-libdir=lib64 --includedir=/usr/include --with-config-file-scan-dir=/etc/php52/conf.d --enable-libxml --enable-session --enable-xml --enable-simplexml --enable-filter --disable-debug --enable-inline-optimization --disable-rpath --disable-static --enable-shared --with-pic --with-gnu-ld --with-mysql --with-gd --with-jpeg-dir --with-png-dir --with-xpm-dir --enable-exif --enable-fastcgi --enable-force-cgi-redirect --with-zlib --with-bz2 --with-curl --with-ldap --with-mysqli --with-ttf --with-freetype-dir=/usr/local --enable-soap --enable-sockets --enable-calendar --enable-ftp --enable-mbstring --enable-gd-native-ttf --enable-bcmath --enable-zip --with-pear --with-openssl

=======================================
Vhost andere php Version zuweisen
=======================================
Code:
# vi /var/www/fcgi/mydomain.de/php5-fcgi-starter
<-------------------- schnipp ------------------------->
FCGID_STARTER_PHPBIN="/usr/bin/php5213/php-cgi -c /etc/php5/cgi/"
exec $FCGID_STARTER_PHPBIN
<-------------------- schnapp ------------------------->

# /etc/init.d/apache2 reload

fertig...

Vll. erspart sich ja auf die Art und weise jemand ne Menge Arbeit Tongue

Mein größter Fehler war nicht nachzusehen welche php Version fcgi unterstützt. Die von mir angestrebte Version 5.2.11 nicht auf anhieb. 5.2.13 dann aber schon und die tuts auch.


Danke euch trotzdem für Die Anregung.

Greetz Steven
01-27-2012 01:28 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ispCP & phpfarm / mehrere PHP Versionen - StevenE - 01-27-2012 01:28 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)