var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Multiple PHP (PHP 5.3.x & 5.4.x & 5.5.x) on VPS - How do I set it up
I have a cPanel/WHM VPS which currently has PHP 5.3.x installed.
I would like to add PHP 5.4.x and PHP 5.5.x, that can be enabled via .htacess on a per folder setup.
Can anyone give me a guide on how to install PHP 5.4.x and PHP 5.5.x along side PHP 5.3.x.
The default would be PHP 5.3.x
Can someone give me a guide, as I would like to do it myself, but never done it before and would like to know how to update it etc...
I have the following installed on PHP at this time:
The phpinfo has the following Configuration headers:
'./configure' '--disable-fileinfo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
curl - With SSL
Zend Guard Loaders
The main method to have multiple PHP versions on cPanel servers, as kpmedia indicated, is to use CloudLinux which offers this functionality.
As a free alternative, check out: http://www.webhostingtalk.com/showthread.php?t=1316839
I'm not sure whether it would meet your requirements, but you can always ask nixtree
I am aware of CloudLinux, but my VPS provider has said it would not work.
The VPS is running on: CENTOS 6.5 x86_64 virtuozzo.
Indeed - CloudLinux is not compatible with Virtuozzo.
The method I suggested above might be the best way forward in your case.
I have contacted them for some info before I go ahead.
If you want to get cloudlinux working, you need to migrate your vps to Xen or KVM visualization.
Cloudlinux is the best software to handle multiple php versions
I went and install NT PHP Selector by Nixtree, works great and does, what I need.
I was originally about CloudLinux, but don't want to change providers, as I am quite happy where I am. When I eventually upgrade to a dedi server, I will get CloudLinux.
And how to we can install Extensions as
Originally Posted by Website Hosted
NixTree no setup PHP with this libraries PHP.
How is possible have this in the others versions of PHP ?
Please: some idea about how I can have MySQLI +PgSQL + FILEINFO, and any other module/library int the versions of PHP installeds by NIXTREE ?
Originally Posted by Website Hosted
By default this only install PHP 5.2, 5.3 and 5.5
But no include extensions, librarys and modules as FILEINFO, PgSQL, MYSQLI and others...
We have this by default in EasyApache and we recompile PHP 5.4 with all modules requireds, but when we install ntphpselector_manage.sh this no install PHP with modules requireds.
┐how we can?
By l0ck_up in forum Systems Management Requests
Last Post: 07-03-2007, 10:32 PM
By xhosts in forum Shared Hosting Offers
Last Post: 10-24-2006, 10:31 AM
By Onture in forum Programming Discussion
Last Post: 07-05-2005, 05:31 AM
By ttk_2k in forum Hosting Security and Technology
Last Post: 02-25-2005, 10:04 PM
By ProdigySim in forum Programming Discussion
Last Post: 04-23-2004, 10:36 AM