I am using CentOS 6.10 with Apache 2.2. Recent, I have to upgrade PHP from 5.4 to 7.0. I downloaded rh-php70* packages. rh-php70 is enable. And php-v showed that the version is 7.0. However, an error message is returned when I restart httpd service.
undefined symbol: ap_unixd_config
Does rh-php70 compatible with apache 2.2? If yes, please provide some instructions to me.
rh-php70 cannot run in apache 2.2 in CentOS 6
Re: rh-php70 cannot run in apache 2.2 in CentOS 6
What is the output from rpm -qa rh-php70\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: rh-php70 cannot run in apache 2.2 in CentOS 6
> Does rh-php70 compatible with apache 2.2? If yes, please provide some instructions to me.
The rh-php70-php package only provides the mod_php module for httpd 2.4 from httpd24 SCL
(and you should not be able to install it without the proper dependency)
The rh-php70-php package only provides the mod_php module for httpd 2.4 from httpd24 SCL
(and you should not be able to install it without the proper dependency)
Re: rh-php70 cannot run in apache 2.2 in CentOS 6
I am using rh-php70 packages on CentOS 6 with httpd 2.2.15 and it works just fine. Are you thinking of CentOS 7?The rh-php70-php package only provides the mod_php module for httpd 2.4 from httpd24 SCL
Looking further, it seems that you have to run rh-php70-php-fpm.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: rh-php70 cannot run in apache 2.2 in CentOS 6
using FPM is very simple with httpd 2.4 (SetHandler to fcgi proxy)
With httpd 2.2 in C6, not so easy (ProxyPass... using mod_proxy-fcgi from EPEL)
IMHO, far simpler to use httpd24 SCL
Or switch to C7.
With httpd 2.2 in C6, not so easy (ProxyPass... using mod_proxy-fcgi from EPEL)
IMHO, far simpler to use httpd24 SCL
Or switch to C7.