GoogleCloudPlatform / php-docs-samples

A collection of samples that demonstrate how to call Google Cloud services from PHP.
http://cloud.google.com/php
Apache License 2.0
968 stars 1.03k forks source link

Google App Engine PHP Wordpress Common Errors #261

Closed JamesVanWaza closed 7 years ago

JamesVanWaza commented 7 years ago

Below are the common errors I keep experiencing when trying to setup Wordpress on GoogleCloud.

Version

Changing the port

Port Changing It is very difficult to change from localhost:8080 to localhost:8081, any ideas showing how to do that would be greatful especially when running multiple, wordpress sites.

PHP Executable Path

How to change the path When installation is complete, Wordpress asks, to change the PHP Executable path, any ideas showing how to do this would be greatful.

Wordpress Continous Reload

After setting up the site, the site keeps reloading and no error shows, whats going on. Nothing is showing up in the error logs pages.

Vendor Folder not Created

When setting up, the vendor folder is not created and the site can't run without the vendor folder.

Deprecate the following Github

@tmatsuo @bshaffer https://github.com/GoogleCloudPlatform/appengine-php-wordpress-starter-project, from your webpage, use that one as the official one, since there are now multiple ones. This will avoid the confusion.

Requirments by Platform

OpenSSL MAMP PRO Memcache

tmatsuo commented 7 years ago

@jgacuca567 Thanks for the feedback!

We're working on to provide better documentation on how to run WordPress on GCP. We'll definitely improve the issues you raised here.

Thanks again!

JamesVanWaza commented 7 years ago

@tmatsuo Let me know how I can be of assistance.

bshaffer commented 7 years ago

@jgacuca567 Thank you for this feedback! This is very helpful. Did you try using the starter project, and if so what was your experience?

JamesVanWaza commented 7 years ago

@bshaffer So far so good, scales rapidly, but if the errors keep getting fixed then it shall be good to go.

bshaffer commented 7 years ago

@jgacuca567 by starter project I am referring to this repository. I assume the comments you've left on here refer to this one.

JamesVanWaza commented 7 years ago

@bshaffer The one I have been using is the one from php-docs-samples, haven't been using the app-engine one since its the old version, have been using @tmatsuo's version.

JamesVanWaza commented 7 years ago

@bshaffer @tmatsuo have you tried to test using MAMP PRO as well and is OpenSSL a requirement?

I also see there was an update for https://cloud.google.com/php/tutorials/wordpress-app-engine-flexible. Thank You.