Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP 7.3 + lsapi handler not working

Discussion in 'EasyApache' started by IdleServ, May 19, 2019.

Tags:
  1. IdleServ

    IdleServ Well-Known Member

    Joined:
    Oct 27, 2003
    Messages:
    51
    Likes Received:
    1
    Trophy Points:
    158
    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.

    Code:
    [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
    Code:
    [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
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php52___lsphp .php .php5 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php53
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php53___lsphp .php .php5 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php54
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php54___lsphp .php .php5 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php55
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php55___lsphp .php .php5 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php56
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php56___lsphp .php .php5 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php70
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php70___lsphp .php .php7 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php71
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php71___lsphp .php .php7 .phtml
    </IfModule>
    
    # lsapi configuration for ea-php73
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
    </IfModule>
    
    # Set ea-php72 as the system default for php
    <IfModule mime_module>
      AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
    </IfModule>
    # lsapi configuration for ea-php72
    <IfModule lsapi_module>
        lsapi_engine On
        AddHandler application/x-httpd-ea-php72___lsphp .php .php7 .phtml
    </IfModule>
    
    
    # End of autogenerated php configuration.
     
    #1 IdleServ, May 19, 2019
    Last edited: May 19, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @IdleServ

    Can you open a support ticket so we can take a closer look at your system? You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice