Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 03, 2011 3:06 pm 
Offline
Newbie

Joined: Wed Aug 03, 2011 3:05 pm
Posts: 4
I'm running CentOS5.5 and trying to upgrade PHP from 5.1.6 to 5.3. I tried the following commands:

# yum remove php-common

# yum install php53-common

# service httpd restart


This seemed to work, but PHP would not parse instead only showed the source code. I ended up reverting back to v5.1.6.

Does anyone have any suggestions?

Thanks!


Top
   
 Post subject:
PostPosted: Wed Aug 03, 2011 4:00 pm 
Offline
Senior Member

Joined: Sat Nov 27, 2010 8:21 pm
Posts: 63
The Apache php module is in the php53 package. That's the one you need to install. It will then pull in php53-common as a dependency.


Top
   
 Post subject: php 5.3
PostPosted: Wed Aug 31, 2011 4:18 pm 
Offline
Junior Member

Joined: Fri Jul 08, 2011 7:46 pm
Posts: 44
Website: http://ericsonwilkinson.me
Location: United States
The php53 package available for centos 5 lacks extensive php module support.

Consider using Centos 6 if using php 5.3 is a must, or compiling php from source if you need to stick with centos 5 and don't mind maintaining php without a package manager.


Top
   
 Post subject:
PostPosted: Sat Sep 03, 2011 8:41 pm 
Offline
Senior Member

Joined: Thu Oct 02, 2008 8:56 am
Posts: 99
I'm running my own php 5.3.x based on the Fedora src.rpm

It builds in mock but uses some dependencies from EPEL.

If you want my src.rpm let me know.

I use php as package name and put excludes in the the CentOS repos.

I also run updated pear, and exclude pear packages from yum, using the pear interface itself to install / manage them.


Top
   
 Post subject:
PostPosted: Tue Sep 06, 2011 3:03 am 
Offline
Newbie

Joined: Sat May 21, 2011 11:14 am
Posts: 3
I prefer the php53u packages from IUS Community Repo to give php 5.3.x support to my CentOS 5/6 linodes.

some time ago i was using php from http://centos.alt.ru but the maintainer did rollback to 5.2 for compatibility :/ (but i use nginx from here)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group