Upgrade php version?

7 posts / 0 new
Last post
#1 Tue, 09/06/2011 - 05:51
DoubleSpeed

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?

Tue, 09/06/2011 - 08:23
Tue, 09/06/2011 - 09:47
andreychek

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

Wed, 09/07/2011 - 11:02
DoubleSpeed

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?

Wed, 09/07/2011 - 11:22
andreychek

Hmm, did you add that 'includepkgs=php*' line to the top of the file? It should go at the end :-)

-Eric

Sat, 09/10/2011 - 04:03
DoubleSpeed

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?

Sat, 09/10/2011 - 09:41
andreychek

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

Topic locked