File manager - Edit - /usr/local/apache/conf/php.conf
Back
# 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-alt-php72 /cgi-sys/alt-php72 Action application/x-httpd-ea-php56 /cgi-sys/ea-php56 Action application/x-httpd-ea-php72 /cgi-sys/ea-php72 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 </IfModule> # lsapi configuration for alt-php72 <IfModule lsapi_module> lsapi_engine On AddHandler application/x-httpd-alt-php72___lsphp .php .php7 .phtml </IfModule> # CGI configuration for ea-php56 <IfModule actions_module> Action application/x-httpd-ea-php56 /cgi-sys/ea-php56 </IfModule> # CGI configuration for ea-php72 <IfModule actions_module> Action application/x-httpd-ea-php72 /cgi-sys/ea-php72 </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> # 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.
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Generation time: 0 |
proxy
|
phpinfo
|
Settings