관리-도구
편집 파일: 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. # These initial handlers serve as fallback in case there is any # time between when configuration has changed and when it takes effect. # We use CGI style since it is simple and the default we use elsewhere. # If the version is not set to CGI they will get a 404 until the new # configuration takes effect which is better than serving source # code until the new configuration takes effect. <IfModule actions_module> Action application/x-httpd-ea-php74 /cgi-sys/ea-php74 Action application/x-httpd-ea-php80 /cgi-sys/ea-php80 Action application/x-httpd-ea-php81 /cgi-sys/ea-php81 Action application/x-httpd-ea-php82 /cgi-sys/ea-php82 Action application/x-httpd-ea-php83 /cgi-sys/ea-php83 </IfModule> # lsapi configuration for ea-php74 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml </IfModule> # lsapi configuration for ea-php80 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-ea-php80___lsphp .php .php8 .phtml </IfModule> # lsapi configuration for ea-php82 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-ea-php82___lsphp .php .php8 .phtml </IfModule> # lsapi configuration for ea-php83 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-ea-php83___lsphp .php .php8 .phtml </IfModule> # Set ea-php81 as the system default for php <IfModule mime_module> AddHandler application/x-httpd-ea-php81___lsphp .php .php8 .phtml </IfModule> # lsapi configuration for ea-php81 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-ea-php81___lsphp .php .php8 .phtml </IfModule> # End of autogenerated php configuration.