Is it possible to deploy cakephp applications on google app engine?

前端 未结 3 863
甜味超标
甜味超标 2020-12-21 21:07

I recently read that php applications can be deployed on Google App Engine using Quercus.

Is it possible to deploy cakephp applications too? Also, from the developer

3条回答
  •  感动是毒
    2020-12-21 21:28

    While you can run PHP applications using Quercus on GAE, getting a typical CakePHP app to work might be an exercise in frustration. As far as I'm aware, there is no PDO driver for GAE's data store so you'd have to write your own CakePHP DataSource. Also, GAE does not support filesystem access, so things that you take for granted in Cake (such as filesystem-backed caching) won't work correctly on GAE.

    If you want to run a CakePHP application "in the cloud", you might consider using a service that properly supports PHP (e.g. RackSpace Cloud, PHPFog, PagodaBox, etc).

    Speaking to your add-on question, the architecture of a traditional hosted application is slightly different than a true "cloud application", specifically the fact that cloud applications are designed to scale horizontally. This is a complex topic in and of itself, so I would suggest doing some research on your own about cloud application architecture to familiarize yourself with the concepts.

提交回复
热议问题