Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

WordPress Update/PHP Unexpected error

$
0
0
Hi all,

I'm not really sure if this is the correct place but I'm having a bit of a strange issue with my Nginx server and updating Wordpress. I currently run and host a small nginx server to run my personal blog. Wordpress is reporting that it's all up to date, however I know it's not. Seems to be it just stopped detecting updates a few months ago and I've only just spotted it after realising that 4.5 is now available but not showing.

Checking error logs shows the following:
2016/05/03 23:44:29 [error] 10251#10251: *6494 FastCGI sent in stderr: "PHP message: PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/robachickenweb/public_html/wp-includes/update.php on line 303
PHP message: PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/robachickenweb/public_html/wp-includes/update.php on line 467
PHP message: PHP Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /home/robachickenweb/public_html/wp-includes/update.php on line 123" while reading response header from upstream, client: 31.48.65.114, server: www.robachicken.co.uk, request: "GET /wp-admin/update-core.php?force-check=1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "www.robachicken.co.uk", referrer: "http://www.robachicken.co.uk/wp-admin/update-core.php?force-check=1"

Running curl -O https://wordpress.org/latest.tar.gz works correctly. I've recreated the update.php file, even created a new site to test - but it just keeps erroring reporting there's an "unknown php error".

I'm running CentOS 7, nginx 1.9.15 and PHP-FPM 5.4.16.

Does anyone have any ideas of where to look next? I'm a little stumped...

Thanks,
Rob

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>