[FIXED] PHP Files Downloading Problem
Facing PHP files downloading instead of parsing? This could be due to missing or faulty PHP handlers for the particular website and the webserver is downloading the files instead. We will show how you can fix this problem.
- Check the .htaccess file and find the following rules and comment them out using #
In some cases commenting out these two lines will solve the problem.
- Now to add correct PHP Handlers login to cPanel followed by opening PHP Selector option.
- Now select the particular website facing issues and select the same PHP version and save it. It will add proper PHP Handlers and your issue should be resolved.
If you are unable to resolve the issue then feel free to contact us at email@example.com