Server Fault Asked by DanF on December 18, 2021
I have CentOS6-equivalent systems (Amazon Linux original, not Linux 2) that I upgraded to Apache httpd 2.4.
Now I want to upgrade PHP from 7.1 to 7.3.
As far as I can tell, the Remi repo only provides an httpd libphp for 2.2, not 2.4.
Attempting to install php73-php gets an error on dependency httpd-mmn (expects 20051115, but 2.4 provides 20120211).
I haven’t found another repo with PHP 7.3 that integrates with httpd 2.4.
It seems like the only way to get PHP 7.3 to work with httpd 2.4 on CentOS 6 is to use FPM (assuming that I don’t want to rebuild PHP 7.3 myself). Is that the case? Or am I missing something?
I know we need to upgrade to Amazon Linux 2 [or Centos 8] before December – that’s planned, but it’s a bigger job than we want to tackle right now.
Amazon Linux is only loosely based on CentOS, and is not compatible with packages built for RHEL and CentOS. If one happens to install and work, it's a coincidence, not an intention. It was originally forked from CentOS 5! and has diverged ever since, with no guarantees against breakage with any updates.
You need to switch distributions. Amazon Linux and Amazon Linux 2 are not really appropriate distros for much of anyone except possibly Amazon themselves (and I'm not even sure about that). They provide neither stability nor access to the recent software you need to run a web site.
Answered by Michael Hampton on December 18, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP