[FIXED] PHP Files Downloading Problem

Category : General

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.

Procedure

  1. Check the .htaccess file and find the following rules and comment them out using #
    AddType
    AddHandler
    In some cases commenting out these two lines will solve the problem.
  2. Now to add correct PHP Handlers login to cPanel followed by opening PHP Selector option.
  3. 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 technical@basezap.com