/
usr
/
local
/
apache
/
conf
/
/usr/local/apache/conf
mkdir
upload
Name
Size
Mode
Actions
includes/
-
0755
rm
httpd.conf
155092
0600
edit
dl
rm
mime.types
61751
0644
edit
dl
rm
php.conf
1488
0644
edit
dl
rm
Edit:
/etc/apache2/conf.d/php.conf
(1488B)
# 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-php82 /cgi-sys/ea-php82 Action application/x-httpd-ea-php83 /cgi-sys/ea-php83 </IfModule> # CGI configuration for ea-php74 <IfModule actions_module> Action application/x-httpd-ea-php74 /cgi-sys/ea-php74 </IfModule> # CGI configuration for ea-php83 <IfModule actions_module> Action application/x-httpd-ea-php83 /cgi-sys/ea-php83 </IfModule> # Set ea-php82 as the system default for php <IfModule mime_module> AddHandler application/x-httpd-ea-php82 .php .php8 .phtml </IfModule> # CGI configuration for ea-php82 <IfModule actions_module> Action application/x-httpd-ea-php82 /cgi-sys/ea-php82 </IfModule> # End of autogenerated php configuration.
Save
cmd:
run