WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] php5 upgrade cant access admin to login (2 posts)

  1. spotcream
    Member
    Posted 4 years ago #

    Hi i upgraded to php5 and inserted the correct code into .htaccess to force to use php5 now my site works in all its glory i just cannot lgoin to the admin screen when i click on login i get no input file specified http://www.spotcream.com/wp-admin/

    My .htaccess file from my main www folder where wp is installed is as follows

    # BEGIN W3 Total Cache
    <IfModule mod_setenvif.c>
    SetEnvIfNoCase Accept-Encoding (gzip) APPEND_EXT=.$1
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register).php|wp-.*\.php|index\.php) [OR]
    RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]
    RewriteCond %{HTTP_USER_AGENT} !(bot|ia_archive|slurp|crawl|spider) [NC]
    RewriteCond /home/PRIVATE/public_html/wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} -f
    RewriteRule (.*) wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} [L]
    </IfModule>
    # END W3 Total Cache

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName spotcream.com
    AuthUserFile /home/PRIVATE/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/PRIVATE/public_html/_vti_pvt/service.grp

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress
    # Add Expires headers
    # ExpiresActive On
    # ExpiresDefault \"access plus 5 days\"
    # ETags
    FileETag none
    # WP-AVOID-SLOW END
    AddType x-mapp-php5 .php

  2. spotcream
    Member
    Posted 4 years ago #

    didnt add php.ini to admin folder

Topic Closed

This topic has been closed to new replies.

About this Topic