- From: Sheppy Reno <
>
- To: "
" <
>
- Subject: [chef] Re: Re: RE: php5.4
- Date: Mon, 11 Aug 2014 10:51:44 +0000
- Accept-language: en-US
You can get PHP 5.4 from the IUS repository - getContainer
It actually uses a different package name though (php54), so you would
have to remove the old php packages first instead of just upgrading:
# rpm -e --nodeps php php-common
# yum install php54 php54-common
Hope that helps.
On Sun, 2014-08-10 at 21:40 -0700, DV wrote:
>
Well, if there isn't a php 5.4 package, one would expect the recipe to
>
fail instead of silently installing older version of php. So the issue
>
is either with the packaging or the recipe.
>
>
>
On Sun, Aug 10, 2014 at 9:27 PM, Kadel-Garcia, Nico
>
<
>
>
wrote:
>
php 5.4 is not part of any of the base CentOS repositories I'm
>
aware of. Where, exactly, do you expect to find it?
>
>
>
>
There is a 'webtatic' repository
>
at https://webtatic.com/packages/php54/, that may serve. But
>
you'll need to enable and activate that repository with the
>
yum cookbook or manually before this recipe can possibly work.
>
>
>
>
--
>
Nico Kadel-Garcia
>
Senior Systems Consultant
>
Email:
>
>
Cell Phone: +1.339.368.2428
>
>
______________________________________________________________
>
From: Nikhil Shah
>
<
>
>
Sent: Thursday, August 07, 2014 3:44 PM
>
To:
>
>
Subject: [chef] php5.4
>
>
Hello,
>
>
>
I am having a hard time installing php54 on centos...I'm using
>
the following cookbook:
>
https://github.com/opscode-cookbooks/php
>
>
>
When deploying php using the default recipe, it installs
>
5.3...In that case I setup an override attribute:
>
>
>
>
>
name "php54"
>
description "php54 applied to all instances."
>
run_list(
>
"recipe[yum]",
>
"recipe[yum-epel]",
>
"recipe[php]"
>
)
>
>
>
>
default_attributes(
>
"php" => {
>
"version" =>"5.4.15"
>
}
>
>
>
>
>
>
>
>
Is there another cookbook that I should be looking at to be
>
able to switch between php5.3 and 5.4?
>
>
Archive powered by MHonArc 2.6.16.