Htaccess issue and plugin upgrades

when i try and upgrade a number of different plugins, i get an error message saying i need php 5.3 or higher. however a few days ago (to try and resolve the situation) i logged in to my godaddy account and upgraded to php 5.4. still i am getting the error messages when attempting to upgrade various plugins.

godaddy suggests it may have something to do with the “addhandler” lines in my htaccess file in the root directory. here’s what that file looks like:

[begin code]

addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php
addhandler x-httpd-php5-cgi .php5

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^shop/images/(\d+)/?\??(.*)$ /wp-content/plugins/shopp/services/image.php?siid=$1&$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

[end code]

i have no idea how the addhandlers got in there, who put them in, or when they were inserted or why. regardless when i remove them, and save the .htaccess file without them, then i refresh my site, i get a 404 error message.

any idea how to resolve? please advise. thanks in advance!

I read somewhere that GoDaddy requires certain handlers in their htaccess, try adding these to the top of your file:

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.