Some time you migrate website/code from cPanel to Cyberpanel and getting server error.


Check section of the htaccess, you see

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

The site is migrated from cPanel, where it forces PHP file to be run with external app ea-php73 which is the cPanel-specify app.


By remove/comment that line, should fix the issue.

#AddHandler application/x-httpd-ea-php73 .php .php7 .phtml


Thank you !