Unexpected behavior when trying to manually install Wordpress on macOS Sierra

Server Configuration

  • macOS Sierra 10.12.6
  • Server App v5.3.1 (Websites Service is ON and serving other sites)
  • mySQL v8.0.12 (Verified up and running)
  • PHP v7.2.10 (Verified through phpinfo())
  • Wordpress v4.9.8 (Attempting to install)

Problem

I am trying to install Wordpress on my server running Sierra and I am running into a problem upon installation that continues post installation.

When I navigate to https://www.my.server.com/wp-install/index.php to begin the installation, I get the following, plain-text install screen rather than the "standard one" highlighted in all of the install documentation I could find:

After install, I get the following non-functioning site that is essentially useless. I just don't see where the problem(s) may be. It's a relatively painless install procedure.

For what it's worth, I have other, non-wordpress sites being successfully served by the configuration above. I welcome any and all assistance/ideas on where I can turn to remedy this problem.

Topic mac mysql php server Wordpress

Category Web


Thanks to Jacob P. for pointing me in the right direction.

The fix was simple once I saw that the site was not serving CSS resources. Since my site was indeed using https (and not http), simply changing the following in wp-config.php:

To (note the https):

  • define('WP_HOME','https://www.my.server.com');
  • define('WP_SITEURL','https://www.my.server.com');

solved the problem for me.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.