Topic: Latest PHP 5.4/5.6 no longer installable on Amazon Linux
I've been using the safe installs of php-fpm to run different versions side by side on Amazon Linux servers, and this has worked fine until now.
# yum update
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Loading mirror speeds from cached hostfile
* amzn-main: packages.ap-southeast-2.amazonaws.com
* amzn-updates: packages.ap-southeast-2.amazonaws.com
* epel: fedora.uberglobalmirror.com
* remi: remi.conetix.com.au
* remi-php56: remi.conetix.com.au
* remi-safe: remi.conetix.com.au
1269 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php54.x86_64 0:2.1-2.el6.remi will be updated
---> Package php54.x86_64 0:2.1-4.el6.remi will be an update
---> Package php54-runtime.x86_64 0:2.1-2.el6.remi will be updated
---> Package php54-runtime.x86_64 0:2.1-4.el6.remi will be an update
--> Processing Dependency: environment-modules for package: php54-runtime-2.1-4.el6.remi.x86_64
---> Package php56.x86_64 0:2.1-2.el6.remi will be updated
---> Package php56.x86_64 0:2.1-5.el6.remi will be an update
---> Package php56-runtime.x86_64 0:2.1-2.el6.remi will be updated
---> Package php56-runtime.x86_64 0:2.1-5.el6.remi will be an update
--> Processing Dependency: environment-modules for package: php56-runtime-2.1-5.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php56-runtime-2.1-5.el6.remi.x86_64 (remi)
Requires: environment-modules
Error: Package: php54-runtime-2.1-4.el6.remi.x86_64 (remi)
Requires: environment-modules
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The environment-modules rpm doesn't exist on Amazon Linux, although it does on CentOS, etc.
Is there any way we can return to the old setup, or is there an alternate configuration I can use?? ( is it save to 'skip-broken'?? )
Cheers,
Steve