Link to home
Start Free TrialLog in
Avatar of XK8ER
XK8ERFlag for United States of America

asked on

upgrade php v5.2 into v5.3.8

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?
Avatar of Papertrip
Papertrip
Flag of United States of America image

yum update php-*

Open in new window

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.
ASKER CERTIFIED SOLUTION
Avatar of acbxyz
acbxyz
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial