Wordpress Plugins Update Not Working After Update to PHP 5.3.25

CypherHackz

Verified User
Joined
Apr 4, 2011
Messages
9
Hello,

Yesterday I updated my PHP to 5.3.25 using DA CustomBuild.

Code:
./build update
./build update_versions

The update process went smooth and my Wordpress website was working fine.

Until today when I want to update my Wordpress plugins via the WP Admin Dashboard, the plugin page just stuck as shown in the attachment below:

Screen Shot 2013-05-12 at 12.51.37 PM.png

All Wordpress websites under this VPS are having the same problem. What should I do?

Thank you.

-cypher.
 
Hello,

Enable either debugging mode in WP or displaying PHP errors in browser to see what it might complain about.
 
I have setup debug mode by following this guide, http://codex.wordpress.org/Debugging_in_WordPress

Code:
// Enable WP_DEBUG mode
define('WP_DEBUG', true);

// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);

// Disable display of errors and warnings 
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define('SCRIPT_DEBUG', true);

But there is no debug.log file created in my wp-content folder and no error message is recorded.

-cypher.
 
Switch

PHP:
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

to

PHP:
define('WP_DEBUG_DISPLAY', true);
@ini_set('display_errors',1);

to display PHP errors.
 
Still same. No error display. And the plugin page stuck with the rotating loading icon like the screenshot.

Btw here is my options.conf file settings if you want to take a look.

Code:
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.3
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no

#Possible values - 5.0, 5.1, 5.5
mysql=5.1
mysql_inst=yes
mysql_backup=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2

#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=yes
roundcube=yes
uebimiau=no

#Mail options
exim=no
spamassassin=no
mail-header-patch=yes
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options
proftpd=yes
pureftpd=no

#Jailed shell (beta)
jail=no

#CustomBuild options
custombuild=1.1
autover=no
bold=yes
clean=yes
clean_old_tarballs=no
clean_old_webapps=yes

#Cron settings
cron=no
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
cleanapache=no
downloadserver=files.directadmin.com
eximconf=no
cloudlinux=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
secure_htaccess=no
harden-symlinks-patch=no
ioncube=no
clamav=no
mailman=no
autoconf=yes
automake=yes
libtool=yes
curl=yes
new_zlib=no
cron_frequency=daily
new_xml2=no
old_apr_util=no
cagefs=no

-cypher.
 
Check apache logs then.

Yesterday I updated my PHP to 5.3.25 using DA CustomBuild

from what PHP version did you upgrade? Make sure, your WP version support your current PHP version.
 
I update from 5.3.24.

Or do I need to install suPHP? Before this the VPS was working fine (I'm not sure whether the suPHP was installed or not previously), but my hosting provider said I need to install suPHP.

-cypher.
 
You might want to try this to install suPHP:

Code:
./build set php5_cli no
./build set php5_cgi yes
./build update
./build php d
 
Have tried that by still same.

Btw everytime I enter the command above, I got this error message:

Code:
[root@helloworld custombuild]# ./build set php5_cli no
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Changed php5_cli option from yes to no
[root@helloworld custombuild]#

Is it normal?

-cypher.
 
@CypherHackz, in addition to zEitEr commands, you should also run these commands:

Code:
./build php-ini
./build suphp
service httpd restart
 
Yes, that should be fine. Just run the commands after you run zEitEr commands, so that you can get suphp too. And maybe some of the warnings will go away ...
 
ditto,

I have run your command, but still not successful. In fact, I even have tried issue command,

Code:
./build all d

and still no success. :(

-cypher.
 
Something is definitely wrong, but I can't say for now what exactly. The thread turns into guessing; and I have to say you'd better get somebody to login into your server and check it. Feel free to pick somebody on the forums or other web-sites.
 
Hello,

I think I know why it can't update the plugins.

Wordpress plugins server is located at http://downloads.wordpress.org (72.233.56.139)

When I try to ping the plugin server (from my VPS), nothing happen. Even I try to ping the IP address itself, also no success.

But when I ping another server like google.com, I get response from the server.

Is there anything in my VPS that blocks the connection to a specific server? How can I check that?

Thank you.
 
It doesnt reply at ping from my home too, But i can update WP plugins without issue.

Ping is not relevant, their firewall should just be set to dont reply to ping.

Regards
 
Back
Top