PHP 7.3 + lsapi handler not working
Using EA4 and I have just installed ea-php73.
If I set it's handler to lsapi, the source code of the PHP script is downloaded to the browser.
I cannot figure out what is missing here, seems Apache just doesn't know how to handle
application/x-httpd-ea-php73___lsphp.
All other PHP versions continue to work find under lsapi.
[root@web1 etc]# rpm -qa | grep -i lsapi
liblsapi-devel-1.1-37.el6.cloudlinux.x86_64
liblsapi-1.1-37.el6.cloudlinux.x86_64
ea-apache24-mod_lsapi-1.1-37.el6.cloudlinux.x86_64[root@web1 etc]# cat /etc/apache2/conf.d/php.conf
# This file was automatically generated by the Cpanel php
# Configuration system. If you wish to change the way php is being
# handled by Apache on your system, use the
# /usr/local/cpanel/bin/rebuild_phpconf script or the WHM interface.
#
# Manual edits of this file will be lost when the configuration is
# rebuilt.
# lsapi configuration for ea-php52
lsapi_engine On
AddHandler application/x-httpd-ea-php52___lsphp .php .php5 .phtml
# lsapi configuration for ea-php53
lsapi_engine On
AddHandler application/x-httpd-ea-php53___lsphp .php .php5 .phtml
# lsapi configuration for ea-php54
lsapi_engine On
AddHandler application/x-httpd-ea-php54___lsphp .php .php5 .phtml
# lsapi configuration for ea-php55
lsapi_engine On
AddHandler application/x-httpd-ea-php55___lsphp .php .php5 .phtml
# lsapi configuration for ea-php56
lsapi_engine On
AddHandler application/x-httpd-ea-php56___lsphp .php .php5 .phtml
# lsapi configuration for ea-php70
lsapi_engine On
AddHandler application/x-httpd-ea-php70___lsphp .php .php7 .phtml
# lsapi configuration for ea-php71
lsapi_engine On
AddHandler application/x-httpd-ea-php71___lsphp .php .php7 .phtml
# lsapi configuration for ea-php73
lsapi_engine On
AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
# Set ea-php72 as the system default for php
AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
# lsapi configuration for ea-php72
lsapi_engine On
AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
# End of autogenerated php configuration.Please sign in to leave a comment.
Comments
0 comments