Page 1 of 1

Google App Engine

Posted: Sun Jul 19, 2015 9:44 am
by kbh4
Hi,

Is it possible (and supported) to run CMS Made Simple in the Google App Engine?

Thanks,
Kent

Re: Google App Engine

Posted: Mon Jul 20, 2015 9:59 am
by velden
I'm not familiar with Google App Engine but reading this part makes me think it's a no-go:
The sandbox

To allow App Engine to distribute requests for applications across multiple web servers, and to prevent one application from interfering with another, the application runs in a restricted "sandbox" environment. In this environment, the application can execute code, use the App Engine mail, URL fetch and users services, and examine the user's web request and prepare the response.

An App Engine application cannot:

write to the filesystem. PHP applications can use Google Cloud Storage for storing persistent files. Reading from the filesystem is allowed, and all application files uploaded with the application are available.
For example the Smarty caching does a lot of writing to files.

Re: Google App Engine

Posted: Mon Jul 20, 2015 2:11 pm
by kbh4
Hi,

Thank you for your reply! You might be quite right, I don't know how CMSMS uses the filesystem - but the standard PHP filesystem commands are supported on Google App Engine, with the limitation that you can't change a file (only delete and write a new one):

https://cloud.google.com/appengine/docs ... lestorage/

Thanks,
Kent

Re: Google App Engine

Posted: Mon Jul 20, 2015 7:39 pm
by calguy1000
After looking through the list of file i/o functions that are not supported with Google App Engine... I would safely say... 'CMSMS will probably not work'.

We rely heavily on the filesystem, and on the database. We use a number of functions that are explicitly not supported by the AppEngine. including: touch, realpath, flock and others.

Re: Google App Engine

Posted: Tue Jul 21, 2015 6:20 am
by kbh4
Thank you both, for taking the time to investigate the subject!

I guess I'll have to find some other way to host my CMS Made Simple site. ;)

Regards,
Kent