About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Upgrade PHP to 5.2 on Plesk 8.1
KirkM
post Dec 3 2006, 08:46 PM
Post #1


Celery
*

Group: Members
Posts: 37
Joined: 11-February 04
Member No.: 12,437



I have a new second fresh box with Plesk and did the auto update to 8.1. It seems to be OK (except for the really annoying advertisements SWSoft has put into the CP's).

The problem is that it still has a very old php version - 4.3.9 I believe. I have a bunch of scripts that need php 5 to work properly and so I now need an idiots tutorial on how to update php without borking the box. Any help pointing me in the right direction would be greatly appreciated.
Go to the top of the page
 
+Quote Post
Raul01
post Dec 3 2006, 09:21 PM
Post #2


Celery
*

Group: Members
Posts: 32
Joined: 13-March 05
Member No.: 16,126



Plesk 8.1 offers you the option to choose between php4 and php5 for a certain domain. See Plesk changelog for details.
Go to the top of the page
 
+Quote Post
KirkM
post Dec 3 2006, 11:25 PM
Post #3


Celery
*

Group: Members
Posts: 37
Joined: 11-February 04
Member No.: 12,437



Unfortunately, only on Windows. I'm running RHEL.

Since the upgrade to 8.1 doesn't upgrade the php or MySQL versions, I need to find a good way to do it that hopefully won't break it. I am hesitant to use up2date and I don't even know what they have for PHP in there.:confused:
Go to the top of the page
 
+Quote Post
Raul01
post Dec 4 2006, 07:32 AM
Post #4


Celery
*

Group: Members
Posts: 32
Joined: 13-March 05
Member No.: 16,126



I thought this feature is available on linux platforms too. Unfortunately we wont know for sure until swsoft setups a live demo for 8.1 version.
Go to the top of the page
 
+Quote Post
KirkM
post Dec 4 2006, 11:03 AM
Post #5


Celery
*

Group: Members
Posts: 37
Joined: 11-February 04
Member No.: 12,437



I would hope it would be, but if you read the "what's new" pdf, it states that under the Windows section and not the Linux / Unix section. It really looks from this document that it is only on Windows right now. And it certainly doesn't appear to be an option in my RHEL version of Plesk 8.1.

I've attached the pdf here.
Attached File(s)
Attached File  plesk81_whatsnew.pdf ( 587.89K ) Number of downloads: 14
 
Go to the top of the page
 
+Quote Post
Squire
post Dec 4 2006, 07:00 PM
Post #6


Computer Chip
***

Group: Members
Posts: 682
Joined: 24-November 01
Member No.: 680



Kirk you'll want to check out the repos at ATR. I'm 99% certain Scott has PHP 5 there, as well as lots of other stuff.

As long as you stay away from bleeding edge rpm's you'll be fine. Scott knows his stuff when it comes to Plesk. Dunno if he has any 8.1 stuff up yet. But if he doesn't I'm sure he'll have soemthing pretty soon.
Go to the top of the page
 
+Quote Post
KirkM
post Dec 4 2006, 07:18 PM
Post #7


Celery
*

Group: Members
Posts: 37
Joined: 11-February 04
Member No.: 12,437



Thanks, I have already been all over his site. I'm trying to educate myself on all this server stuff. My other server is being handled by an outside server maintenance company but I really would like to do some things myself on this one at least while I am in the testing phase of my second box. I have to get familiar with using yum and all. I did the updating on my first server with Ensim a few years back but I must admit I don't remember much about how to do things. I've had my head stuck in PHP since then and forgot what little I learned about Linux.
Go to the top of the page
 
+Quote Post
agruetz
post Dec 15 2006, 02:53 PM
Post #8


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



Hey, I have a solution it still a bit out dated and needs little work on the configs for the rpm but I have got a 5.1.x php for plesk rpm built. You can find it @ forums.helixdevelopment.com I will try to get it updated to 5.2.0 and the config issues fixed this week. It is pretty minor nothing a cp could not fix if you want to use the 5.1 rpm's.they work pretty well. I have been using them for a while now.


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
KirkM
post Dec 15 2006, 03:31 PM
Post #9


Celery
*

Group: Members
Posts: 37
Joined: 11-February 04
Member No.: 12,437



Thanks. I'll go have a look.
Go to the top of the page
 
+Quote Post
DirtyHarry
post Dec 15 2006, 04:55 PM
Post #10


Fellow
**

Group: Members
Posts: 104
Joined: 28-March 05
Member No.: 16,292



Exact same problem here.

Anyhow, I tried using yum and ART's great repository, but I get this dependency errors:

[PHP]
--> Running transaction check
--> Processing Dependency: php <= 4.4.0 for package: php-sqlite2
--> Finished Dependency Resolution
Error: Missing Dependency: php <= 4.4.0 is needed by package php-sqlite2
[/PHP]

So, I removed the package php-sqllite2 using yum remove, and managed to install php 4 and mysql 4.1.21. Now I have just one problem... php gives me this warning:

Failed loading /usr/lib/ioncube/php_ioncube_loader_lin_4.3.so: /usr/lib/ioncube/php_ioncube_loader_lin_4.3.so: undefined symbol: zend_hash_add_or_update

Any idea?
Go to the top of the page
 
+Quote Post
agruetz
post Dec 16 2006, 08:23 PM
Post #11


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



QUOTE (agruetz)
Hey, I have a solution it still a bit out dated and needs little work on the configs for the rpm but I have got a 5.1.x php for plesk rpm built. You can find it @ forums.helixdevelopment.com I will try to get it updated to 5.2.0 and the config issues fixed this week. It is pretty minor nothing a cp could not fix if you want to use the 5.1 rpm's.they work pretty well. I have been using them for a while now.


Well I gotta call myself an idiot on this one. I built the rpm's and tested them...but even posted them on my forums. I am building the 5.2.0 one as I write this so It should be posted out on the forums of my site by tomorrow. Sorry if this caused any confusion.


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
agruetz
post Dec 16 2006, 08:24 PM
Post #12


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



QUOTE (DirtyHarry)
Exact same problem here.  

Anyhow, I tried using yum and ART's great repository, but I get this dependency errors:

[PHP]
--> Running transaction check
--> Processing Dependency: php <= 4.4.0 for package: php-sqlite2
--> Finished Dependency Resolution
Error: Missing Dependency: php <= 4.4.0 is needed by package php-sqlite2
[/PHP]

So, I removed the package php-sqllite2 using yum remove, and managed to install php 4 and mysql 4.1.21. Now I have just one problem... php gives me this warning:

Failed loading /usr/lib/ioncube/php_ioncube_loader_lin_4.3.so:  /usr/lib/ioncube/php_ioncube_loader_lin_4.3.so: undefined symbol: zend_hash_add_or_update

Any idea?


i am just guessing maybe soulds like zend might be trying to load before ioncube which == no no.


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
agruetz
post Dec 24 2006, 11:42 PM
Post #13


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



Alright as promised I would post up some php 5.2.0 rpm's that work with plesk. I am uploading them now. It will probally be another hour or so till I get it full posted but for any of you actually working tonight or tomorrow. You will be able to find them on my forums at my site www.helixdevelopment.com. They have not been heavily tested but I am using them on mine along with suphp and have not and any issues. Enjoy and any feed back is welcome.


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
agruetz
post Dec 25 2006, 06:12 PM
Post #14


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



Welp sorry all I have got them built but I am on vacation I am having trouble getting them uploaded because my internet connection is not so good. Keep checking in I will have em uploaded as soon as I can get a stable enough connection.


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
agruetz
post Dec 25 2006, 08:51 PM
Post #15


Fellow
**

Group: Members
Posts: 113
Joined: 2-December 04
Member No.: 15,065



Well it is finally up and appears to be working correctly. Now go download install and enjoy.

http://forums.helixdevelopment.com/showthr...php?p=11#post11


--------------------
Anthony Gruetzmacher
CEO Helix Development LLC
Zend Certified Software Engineer
www.helixdevelopment.com
www.helixservers.com
Go to the top of the page
 
+Quote Post
DirtyHarry
post Mar 9 2007, 05:47 PM
Post #16


Fellow
**

Group: Members
Posts: 104
Joined: 28-March 05
Member No.: 16,292



QUOTE (agruetz @ Dec 26 2006, 03:51 AM) *
Well it is finally up and appears to be working correctly. Now go download install and enjoy.
http://forums.helixdevelopment.com/showthr...php?p=11#post11



I may need to add some extra configuration bits to the current configuration you are offering. Are there some instructions we should follow when compiling php for plesk?

Thanks!
Go to the top of the page
 
+Quote Post
Jeboy
post May 15 2009, 02:44 AM
Post #17


Newbie


Group: Members
Posts: 1
Joined: 15-May 09
Member No.: 53,576



QUOTE (Squire @ Dec 4 2006, 08:00 PM) *
Kirk you'll want to check out the repos at ATR. I'm 99% certain Scott has PHP 5 there, as well as lots of other stuff.

As long as you stay away from bleeding edge rpm's you'll be fine. Scott knows his stuff when it comes to Plesk. Dunno if he has any 8.1 stuff up yet. But if he doesn't I'm sure he'll have soemthing pretty soon.


Hi, I tried wget -q -O - http://www.atomicorp.com/installers/asl |sh but it throws an error message "Insufficient server config - no servers found. Aborting"
Go to the top of the page
 
+Quote Post
James Jhurani
post May 16 2009, 08:44 PM
Post #18


SuperGeek
Group Icon

Group: The Planet Staff
Posts: 1,695
Joined: 27-December 05
Member No.: 19,248



QUOTE (Jeboy @ May 15 2009, 03:44 AM) *
Hi, I tried wget -q -O - http://www.atomicorp.com/installers/asl |sh but it throws an error message "Insufficient server config - no servers found. Aborting"



Run it using "sh -x" instead of just "sh"(there will be quite a bit more output). This will show you exactly what is being executed when that error is invoked. It isnt the script itself, because that error message isnt anywhere to be found in the code. So it is probably coming from another binary being called by the script.


--------------------
"The average person thinks he isn't." -- Father Larry Lorenzoni


James Jhurani
Managed Hosting
http://www.theplanet.com
Go to the top of the page
 
+Quote Post
viraj
post Nov 13 2009, 01:12 PM
Post #19


Newbie


Group: Members
Posts: 2
Joined: 1-October 06
Member No.: 46,014



QUOTE (James Jhurani @ May 17 2009, 08:44 AM) *
Run it using "sh -x" instead of just "sh"(there will be quite a bit more output). This will show you exactly what is being executed when that error is invoked. It isnt the script itself, because that error message isnt anywhere to be found in the code. So it is probably coming from another binary being called by the script.
Hi all,

The HelixDevelopment forums no longer function icon_sad.gif

I found a more precise tutorial here which I felt like sharing for those in need.


--------------------
Regards,
Viraj Nevase
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st November 2009 - 04:35 PM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us