#1  
Old 5th April 2012, 19:11
kwickcut kwickcut is offline
Senior Member
 
Join Date: Nov 2005
Location: nj usa
Posts: 223
Thanks: 14
Thanked 11 Times in 10 Posts
Default revert or downgrade php

i am running php 5.3 and i have a client that needs 5.2 as there site wil not run on 5.3 all pages are white. is there a how to for this i have searched the forum and did not see any.


thanks


kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
Reply With Quote
Sponsored Links
  #2  
Old 6th April 2012, 08:04
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

chek out this thread on the ubuntu forums http://ubuntuforums.org/showthread.php?t=1459163
Reply With Quote
  #3  
Old 6th April 2012, 13:59
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,591
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Another option is to use two php versions side by side. You can configure that by compiling a second php cgi binary in a different location e.g. in /opt/php52/ and then configure suphp (/etc/suphp.conf) to use that php binary instead of the normal system php. Then you can switch the site to suphp in ispconfig and it will use php 5.2 while all other sites use php 5.3 with the other php modes.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 6th April 2012, 16:22
kwickcut kwickcut is offline
Senior Member
 
Join Date: Nov 2005
Location: nj usa
Posts: 223
Thanks: 14
Thanked 11 Times in 10 Posts
Default

this is something i would like to try seems like a good idea. if something were to go wrong the other sites will not be affected because i did not remove the php 5.3.

ok if i do this i will have to alter Apache as well, so it can use 5.3 or 5.2?

i found this how to and was wondering if it looks correct.

http://www.bsntech.com/bsntech-blog-...nd-php-52.html


thanks

kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
Reply With Quote
  #5  
Old 6th April 2012, 17:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,591
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Quote:
ok if i do this i will have to alter Apache as well, so it can use 5.3 or 5.2?
You dont hav to alter apache, php cgi is a separate program.

The tutorial looks ok, but follow it just until the line "sudo make install", then modify the suphp.ini and change the path to the php cgi binray in suphp.conf topoint to the binary that you compiled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 15:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.