View Single Post
  #1   (View Single Post)  
Old 8th December 2016
agshekeloh agshekeloh is offline
Real Name: Michael W Lucas
Port Guard
 
Join Date: Jul 2008
Location: Detroit, MI
Posts: 21
Default Wordpress and httpd

Hi,

This seems like the best place to ask for this sort of help.

I'm working on getting Wordpress running on httpd (-current, amd64), to use as an example in the httpd/relayd book. (Yes, yes, I know, Wordpress sucks. But people want it, and if OpenBSD is to be considered a hosting platform I need to show it runs things people want.)

I've succeeded... almost. Wordpress installs. It runs. I can add posts and comments. But it can't make a connection back to wordpress.org, so it can't add plugins or check for updates. With debugging on, I get:

An error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /site12/wp-includes/update.php on line 306

Doesn't matter if I use PHP 5.6 or 7.0.

According to various forums, this happens when OpenSSL is out of date. I'm confident that's not the issue. ;-)

Reading the WP source, it appears something has broken the function wp_remote_post.

And there my skills break down.

Any suggestions on how to further debug this?

Thanks,
==ml
Reply With Quote