Solved

upgrade php v5.2 into v5.3.8

Posted on 2011-09-18
3
459 Views
Last Modified: 2013-12-13
hello there
I have upgraded the php installation to v5.3.8

>>When you update the version of PHP (especially when going from version X.Y to version X.Z), you must update the PHP extensions as well.
>>This is because PHP extensions are developped in C, and are "close" to the internals of PHP
>>which means that, if the APIs of those internals change, the extension must be re-compiled, to use the new versions.

the files are located at /usr/lib/php/modules and it shows as built date 2009.
how can I upgrade those files?
0
Comment
Question by:XK8ER
  • 2
3 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36556053
yum update php-*

Open in new window

0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36556065
Actually I just remembered from a previous question of yours that you installed this version of php from source.  In that case, unless the version of php in the yum repo is 5.3.x, the command I posted above is not going to help much.  Also if you didn't install the modules from yum/rpm then they aren't going to show up anyways.  If you see any from 'yum list update php-*'  that are 5.3.x, you may get lucky by updating them.  As for any others, you may need to compile them from source.

The problem you are having is one of the side-effects of not installing precompiled software from maintained repos via your package management software.  Unfortunately if custom build options were required for php, then not much you can do about that.
0
 
LVL 10

Accepted Solution

by:
acbxyz earned 500 total points
ID: 36556083
If centos doesn't contain php 5.3, this repository does with many extensions:
http://rpms.famillecollet.com/
You can add it by installing this rpm: http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question