Upgrade php version?

Using the Virtualmin install.sh has installed PHP Version 5.1.6 is there a simple way to now upgrade php on the server?

http://www.virtualmin.com/documentation/system/bleed

Howdy,

Yup, to use a newer PHP version on CentOS 5.x, I’d suggest using the link helpmin offered above. There, you’ll find instructions on installing PHP 5.2.17 from the Virtualmin bleed repo.

-Eric

Just tried to impliment this added the line includepkgs=php* to a file virtualmin-bleed.repo however getting…

Upgrade All Packages

Upgrading all packages with command yum clean all ; yum -y update …

Loaded plugins: fastestmirror
Loaded plugins: fastestmirror
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/virtualmin-bleed.repo, line: 1
‘includepkgs=php*’

… upgrade failed!

Can you help?

Hmm, did you add that ‘includepkgs=php*’ line to the top of the file? It should go at the end :slight_smile:

-Eric

Actually there was no existing virtualmin-bleed.repo file so I created one and just added that line to it so, yes it is on line one as there was nothing else in the file, can you give me a working example of what I should have in the file?

Howdy,

You’ll want to install the virtualmin-bleed-release-1.0-1.rhel.noarch.rpm file mentioned in the bleed repo documentation, that’ll setup the .repo file that you’re missing.

-Eric