WordPress issue with the 10000 file version quota (limit)

161 views
Skip to first unread message

Christopher Muller

unread,
Jan 21, 2016, 4:47:26 AM1/21/16
to Google App Engine
Hey guys,

I've been super keen to get our WordPress site up onto GAE for speed, security and scalability. It works perfectly for smaller WP sites, however our main site is a mammoth with loads of plugins etc. So it has close to 13000 production-necessary files. This is an obvious problem because of the 10000 file and blob quota on GAE.

The only solution I can think of is to host the wp-content/plugins/ directory on Google Cloud Storage. But I haven't managed to get the WP to pick up the /plugins directory on GCS. Has anyone done anything similar? Or has another solution perhaps? It's so frustrating that the only thing standing in our way is a file limit!

Would really appreciate help and insight.

Thanks,
Chris

Anthony Shapley

unread,
Jan 21, 2016, 5:06:21 AM1/21/16
to Google App Engine
That is a neat idea -- would also remove the need for local upgrades and redeployment (for plugins) if you were able to relocate them on GCS.

Christopher Muller

unread,
Jan 21, 2016, 9:37:09 AM1/21/16
to Google App Engine
Yeah, I just have no idea how to set it up. I assume it would require defining the Plugin Url variables:

define( 'WP_PLUGIN_DIR', 'gs://wp-testing/plugins' );
define
( 'WP_PLUGIN_URL', 'gs://wp-testing/plugins');

But I'm not sure how to get the directory/url of the GCS in a way which the GAE can talk to it.

Anthony Shapley

unread,
Jan 21, 2016, 10:05:28 AM1/21/16
to Google App Engine
I'd guess (and it is only a guess) that the PHP Function, 'dir' -- which WordPress uses to scan the Plugin Directory for Plugin Discovery isn't compatible with GCS. Just a guess though!

Ant

Some URLS worth nosing at:

Anthony Shapley

unread,
Jan 21, 2016, 10:07:57 AM1/21/16
to Google App Engine
Also worth looking at this:

Using PHP include and require

To help maintain the security of your application, the ability to include or require from a GCS file is disabled by default, but you can enable it, as follows:

To include or require PHP code from Google Cloud Storage in your application, you must specify which buckets contain those files using the google_app_engine.allow_include_gs_buckets directive in your php.ini file.





On Thursday, January 21, 2016 at 2:37:09 PM UTC, Christopher Muller wrote:

Mark Limmage

unread,
Jan 8, 2018, 9:15:54 AM1/8/18
to Google App Engine
Hi Chris,

Did you ever find a solution to this problem? I am experiencing the same issue and could only come up with the same wp-functinos.php directives you posted (which did not work). Did you try Anthony's suggestion?

Thanks - Mark
Reply all
Reply to author
Forward
0 new messages