Solved

upgrade php v5.2 into v5.3.8

Posted on 2011-09-18
3
455 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
linux crontab output 3 38
Button Click 11 25
Java / Linux and Regular Expressions 11 45
PHP string issue 5 17
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now