• Hi folks,
    My site loads fine, but I can’t log in to my WP dashboard. Going to my wp-admin login url (that I’ve used for 7 years) brings up a popup in Firefox (91.0.2) as if I’m trying to download a file. (Tried Chrome and same thing) Asks if I want to save or open application/x-httpd-ea-php74 from [my website]. If I say Open with the browser, it dumps the file script in a new tab that’s a Temp folder on my hard drive. In other words, the tab begins:
    ‘ . __( ‘Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab above the screen title.’ ) . ‘

    I thought I’d solved this since I first saw that the popup said ea-php56 even though my site uses php74. But I changed the php in parent site on the server to php 7.4 and now I see the WP log in box when I go to wp-admin login. But logging in still just gets me the script file dump, not my dashboard.

    I tried clearing browser cache, renaming plugin and theme folders in wp-content. Doesn’t help. Help!

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello!

    That popup could mean that your website wants a PHP version that’s not installed on the server.

    Are there any PHP AddHandler statements in your .htaccess file? It looks something like

    <IfModule mime_module>
        AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
    </IfModule>

    If so, it should match the version of PHP you’re running on the server.

    Double check what your server is running. If it’s PHP 7.4 as you say, then it should match the AddHandler.

    If your .htaccess is auto-generated, it might be best to ask your hosting provider for support.

    Thread Starter bfsite

    (@bfsite)

    Thank you. Just tried that, didn’t work: the file had php70 in all the instances. Changed to:

    # Use PHP74 as default
    #AddHandler application/x-httpd-php74 .php
    <IfModule mod_suphp.c>
     #   suPHP_ConfigPath /opt/php74/lib
    </IfModule>

    I’d worked with domain host to update my php to 7.4 back in July. I’d logged into WP dashboard since then without a problem. In cPanel, MultiPHP Manager shows my domain as 7.4 (and that the system default is the 5.6 if another version isn’t explicitly set). phpMyAdmin reports the web server uses php 5.6, but my explicit setting for the website should override to 7.4.

    Thread Starter bfsite

    (@bfsite)

    ALSO:
    I just went to my website and I am logged in (the wordpress controls appear along the top to edit page and show me logged in). However, clicking on any of those menu items (WP Dashboard, Edit Page, etc) yield that same popup and don’t work. So apparently when I got the WP login box, even though it opened the popup about downloading the app, it did log me in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can’t login: browser wants to download app, not go to dashboard’ is closed to new replies.