How To Set Up WordPress On Google App Engine (GAE)

Don't do it


DON"T DO IT if you plan to use WordPress admin features online. Some of those admin features are logging into WordPress CMS, installing new themes, and updating plugins etc.. In order to use WordPress with GAE, you'll have to:
  • set up WordPress on your local computer;
  • edit WordPress files and do the above admin tasks on your computer;
  • then use GAE SDK to deploy the changes to the GAE cloud.  

This is inconvenient if you have multiple admin users for your WordPress site.

Reasons

GAE disallows write operation to its files. Application files can only be written into Google Cloud Storage. WordPress will prompt for FTP credentials to write to files, which GAE does not provide. You might find some work-around, such as modifying the wp_config file or running the chown command etc.. They won't work. You'll be wasting your time.

You might also have problems with WordPress not being able to access the DB, which you'll spend loads of time googling around for solutions.

Alternative

Set it up on Google Compute Engine (GCE) instead. Here's a launcher from Bitnami that allows you to set up WordPress on GCE in a few clicks:


You'll want to remove the Bitnami info button on the bottom right corner after the setup. Please follow instructions from this link:


Still want to set up WordPress on GAE

Please follow these instructions:



Note:
If you get this error:
“... unable to decompress gzipped phar archive "/tmp/wordpress-4.8.2.tar.gz" to temporary file… “
then manually edit ~/php-docs-samples/appengine/wordpress/src/WordPressSetup.php and set LATEST_WP to 4.8.1

Enjoy solving other errors! ;)




Comments

Popular posts from this blog

How To Set Up Quasar v0.14 On A Laravel+Vue Framework

How To Set Up Quasar v0.13 On A Laravel(5.4)+Vue Framework

How To Set Up NodeJs And Npm On Linux

How To Set Up PHP on Ubuntu

How To Set Up A Vue Web App Development Environment

How To Fix Random Disappearing Of HTML Elements On iPhone/iPad

What Is Markdown ?

How To Set Up The Nginx Web Server On Ubuntu