Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: PHP 4 and PHP 5 support on one cPanel server  (Read 3102 times)
« on: October 14, 2008, 12:31:00 PM »
HRamesh Offline
Newbie

View Profile
*

iTrader: 0
Posts: 34



Hi,

Is it possible to have PHP4 and PHP 5 enabled on one server having cPanel as control panel? Also, is it easy to switch from PHP 4 to PHP 5 if it is possible?

Thanks,

Ramesh

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Logged
« Reply #1 on: October 14, 2008, 09:46:10 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 285



Yes, it is certainly possible. You just need to recompile Apache and PHP with PHP 4 and PHP 5 and it will also allow you to select default PHP version. You can change the PHP version by adding relative directive in .htaccess file to change the version of the PHP.

Kailash
Logged

« Reply #2 on: December 09, 2008, 09:54:47 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 285



Adding further to my previous reply, once you compile Apache with PHP 4 and PHP 5, you can change the version of PHP for particular domain using cPanel. You can do it from "php configuration" (X3 theme needed).

Kailash
Logged

« Reply #3 on: November 25, 2009, 06:46:09 AM »
kvchosting Offline
Newbie

View Profile
*

iTrader: 0
Posts: 17



/scripts/easyapache

here while configuring you can select php 4 and 5 and proceed.

Logged
« Reply #4 on: August 10, 2010, 08:17:07 PM »
belongcyl Offline
Newbie

View Profile
*

iTrader: 0
Posts: 1



That was a great help....Thanks alot....
Logged
« Reply #5 on: September 14, 2010, 03:38:36 AM »
Web Hosting In India
brainpulse Offline
Newbie

View Profile WWW
*

iTrader: 0
Posts: 14



yes I see this In cpanle with WHM but did not get exact meaning to use this.

is this auto upgrade with apache or need some more command .........
Logged
« Reply #6 on: September 15, 2010, 10:18:41 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 285



Using easyapache you can compile PHP and Apache for your server. If you do not have any experience or if you never  use this, do not use this. This will break your PHP and Apache configuration.
Logged

« Reply #7 on: March 29, 2011, 02:28:49 AM »
yours Offline
Newbie

View Profile
*

iTrader: 0
Posts: 19



Download a compatible bag  will  be OK~~
Logged

Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2010 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Web Hosting - Sitemap - XML Sitemap