Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to know how I can upgrade my php using plesk?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

I've done this using the atomic yum repository before. Instructions for yum are here: http://www.atomicorp.com/channels/plesk/

To summarize:

sudo wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
sudo yum install php
sudo apachectl graceful # restart Apache for new PHP to be loaded

If course you need to be logged in with SSH as root to do this, no easy way that I know to do it from the Plesk interface. But I have done this on a Plesk 9.2 and a Plesk 9.5 installation before.

Edit: added sudo and apache restart in there

share|improve this answer
    
how can i get root access to my server, im using PUTTY!!! –  pingpong Dec 24 '10 at 14:29
    
it says you need to be root to do this –  pingpong Dec 24 '10 at 14:30
    
try adding sudo before each one: –  Michael Petrov Dec 24 '10 at 14:34
    
it says sudo command not found, can i give you accesss to my server pleease this is so important!! –  pingpong Dec 24 '10 at 14:36
    
take a look at the updated code, I added the sudos and also the apache restart which would be needed to load the new PHP copy –  Michael Petrov Dec 24 '10 at 14:36
show 5 more comments

Now the atomic repo will directly install php 5.3 by default. So, just had a thought that this will be helpful for someone who is looking to install php 5.2.X from atomic.

wget -q -O - http://www.atomicorp.com/installers/atomic | sh
echo "exclude=php-*5.3*" >> /etc/yum.conf
yum upgrade php
yum -y remove atomic-release*  
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.