WordPress admin.php file downloaded instead of being processed

Home Forums BulletProof Security Pro WordPress admin.php file downloaded instead of being processed

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36342
    AITpro Admin
    Keymaster

    Email Question: The following file downloaded automatically right after the setup wizard started: admin.php

    Solution: Your web host is Godaddy.  If a php file is being downloaded instead of being processed then that means you are missing php/php.ini handler htaccess code in your root htaccess file or the current php/php.ini handler htaccess code in your root htaccess file is incorrect/invalid.

    https://www.godaddy.com/help/change-file-extension-handlerslanguages-linux-5121

    The Godaddy php/php.ini handler htaccess code for PHP5.6 is:

    # Go Daddy PHP5.6 php/php.ini handler
    AddHandler x-httpd-php5-6 .php

    You are going to have to add this Godaddy PHP5.6 php/php.ini handler htaccess code manually in your root htaccess file since php files are being downloaded instead of being processed.

    1. Use FTP or your web host control panel file manager and rename the /bulletproof-security/ plugin folder to /_bulletproof-security/.
    2. Manually edit your root htaccess file and add the php/php.ini handler htaccess code that I posted above at the very top of your root htaccess file.
    3. Login to your website.
    4. Rename the /_bulletproof-security/ plugin folder back to /bulletproof-security/.
    5. Go to BPS Root Custom Code and add the Godaddy php/php.ini handler htaccess code in this BPS Custom Code text box: CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
    6. Click the Save Root Custom Code button.
    7. Go to the Security Modes page and click the Root Folder BulletProof Mode Activate button.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.