Title: php 5.2 issue on plugin automatic upgrades
Last modified: August 19, 2016

---

# php 5.2 issue on plugin automatic upgrades

 *  Resolved [chrisc01](https://wordpress.org/support/users/chrisc01/)
 * (@chrisc01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/php-52-issue-on-plugin-automatic-upgrades/)
 * The automatic upgrade for plugins with WP2.6 was working fine under php4.4x –
   nothing else was asked for, it just did it when asked.
 * I’ve just upgraded my dedicated server to php 5.2x. The site works OK but going
   back to plugin automatic upgrade I’m now being asked for FTP hostname, user, 
   password and whether I want SSL. Again, no problem with that, but when I put 
   in the correct details I get:-
 * Error: There was an error connecting to the server, Please verify the settings
   are correct.
 * Well yes, the settings are correct for FTP access so what would be the issue 
   here please?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [chrisc01](https://wordpress.org/support/users/chrisc01/)
 * (@chrisc01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/php-52-issue-on-plugin-automatic-upgrades/#post-826368)
 * Well, that was quick – the host company had left php4x as an option so I had 
   to use the AddHandler command in the htaccess:-
 * AddHandler application/x-httpd-php5 .php
 * All now works OK
 *  [mejayne1973](https://wordpress.org/support/users/mejayne1973/)
 * (@mejayne1973)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/php-52-issue-on-plugin-automatic-upgrades/#post-826597)
 * Ok, I had the same error on 2.7final
    I added that line in my htaccess and now
   it’s connecting to the server..BUT..it’s trying to download plugins.php no matter
   what link I click on. That’s a new one on me.
 *  [mejayne1973](https://wordpress.org/support/users/mejayne1973/)
 * (@mejayne1973)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/php-52-issue-on-plugin-automatic-upgrades/#post-826598)
 * OK, so on my hoster, I use c-panel, and I can switch between php 4 and php 5..
   with it on default or php5, it simply doesn’t work.
    I switch to php4 and it 
   works with no added tweaks, corrections, hacks, etc.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php 5.2 issue on plugin automatic upgrades’ is closed to new replies.

## Tags

 * [php5](https://wordpress.org/support/topic-tag/php5/)

 * 3 replies
 * 2 participants
 * Last reply from: [mejayne1973](https://wordpress.org/support/users/mejayne1973/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/php-52-issue-on-plugin-automatic-upgrades/#post-826598)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
