thias / puppet-php

Puppet module to manage PHP
Other
49 stars 67 forks source link

Cannot install PHP 5.6 on CentOS #60

Open parhamdoustdar opened 9 years ago

parhamdoustdar commented 9 years ago

PHP 5.6 is not in RHEL repositories, and there is no code to add the remi-php56 repository in the puppet manifests.

itJunky commented 9 years ago

Have same troble with php55

ghost commented 9 years ago

I think managing yum repositories is beyond the scope of this plugin, you should add the repository by yourself and change the php_package_name to php55 or php56 or other prefix.

parhamdoustdar commented 9 years ago

@cisco87, this behavior is built-in for Debian-based systems, and some other operating systems. For examples, you can check the manifests/repos directory.

SoldierCorp commented 8 years ago

I'm facing the same problem, how can I install php 5.6 in CentOS 7?

itJunky commented 8 years ago

Try something like this https://www.softwarecollections.org/en/scls/rhscl/php55/

FooBarTrixibell commented 7 years ago

For those still needing this -

1 - Install the IUS repository as a separate task in puppet 2 - Change the common_package_name, php_package_name, cli_package_name etc to be the correct name ie. php56u-cli