I found this question which is pretty old: Is it possible to deploy cakephp applications on google app engine?
Some people stated, that it's most likely at least complicated - someone in the comments stated, that google supports php now(2013). Regarding to the google documentation: https://cloud.google.com/appengine/docs/php/ it's still beta.
So my question is: did someone ever successfully deploy a cakephp application on google app engine? Is it now(2015) possible to deploy a app there without too much problems?
"officialy" the CakePHP is not supported. You may find several steb-by-step howto's where is the deployment explained:
http://dev-mcconnell.blogspot.sk/
http://aymanrb.blogspot.sk/2013/05/cakephp-deployment-on-google-app-engine.html
However, when our customer requested to have CakePHP within his AppEngine, we decided to deploy Google Compute Engine linux VPS with some limited resources (you do not need that much resources if you do not expect huge amount of visitors), and we installed Apache, PHP and MySQL onto this VPS and we run CakePHP application from there.
So generally, the use case above is not an AppEngine deploy, but a deploy within Google Cloud services.
Related
Now that I have managed to deploy one of my services (an API written in PHP) to GAE flexible using a custom Dockerfile,
I would like to deploy another service that would be a Mongodb database, so that my PHP API can store data in Mongodb.
Because I would like to build all of my microservices within GAE flexible, I was thinking of using the same process, which is deploying another custom Dockerfile for building my Mongodb instances.
Now I was wondering if that is the correct approach? I am concerned about the statefullness of my Mongodb instances in that case. Will the data be lost when the instances are restarted or when I deploy another version, is there another more recommended approach for what I am trying to do?
PS: I would like not to have to use Google Datastore, mainly since I'm using the Symfony PHP framework with a lot of useful bundles to interact with Mongo.
I wouldn't recommend deploying MongoDB on GAE, you could easily loose your data, and I don't think GAE features were made for hosting databases. I think it'd give more headaches than solutions.
If you want to use docker images, I'd suggest using Google Container Engine. You just need to remember that you must use a persistent disk in order to not loose data. For development and even small production apps it should fulfill all your needs.
But from my experience, it's much better and efficient to deploy your MongoDB server on Google Compute Engine instances. You can use Cloud Launcher to deploy (cloud launcher will launch your MongoDB almost ready to use, you'd just need to add the users/authentication)
My website done in PHP is currently deployed in AWS server.
Client wants to move it to Heroku for integrating the database with Salesforce.
Is it really necessary?
Salesforce have their API by which I can sync data from my project's MySQL database to Salesforce database.
Will moving the project to Heroku provide any extra advantages that AWS doesn't have ?
thanks in advance for your answers
Actually, no special advantages in approach which your client provide. In both cases you will need to implement logic for integration and interaction with SF part, and I don't see any benefits in migration to Heroku, but I see additional work for migration your current infrastructure.
Although Heroku provides some features for integration with SF out of the box, it seems to me, it will be cheaper and easier to add SF integration to your current project. But it's depends on many factors (for example, how is fit the Heroku platform for your solution at all), so possible best way is to implement PoC for both cases (if it's possible) and compare it.
I've made my entire site using the Codeigniter framework, and it is working well without any hassles (Note I'm using MySQL in the website).
I've been told now to try and get it on to the Google servers as they are excellent for scalability. I just have one huge problem, is there any way or step by step tutorial that helps me do this as I've read up on Quercus which allows for the php to run but I haven't found something explaining how to use the Codeigniter framework with the Quercus.
Please any help or push in the right direction would be appreciated!
We announced Native PHP support for Google App Engine at I/O.
https://developers.google.com/appengine/docs/php/
After Google announced native PHP support I decided to deploy CodeIgniter on Google App Engine. It works natively, tough certain extensions to the core must be done in order to use PHP Runtime API.
I've started writing a series of articles you might want to check out which document and clarify the process of deploying CodeIgniter natively.
http://blog.programming4design.com/codeigniter-on-google-appengine-for-php/
PHP is being added natively to App Engine, maybe this year, but I'm not sure when. The App Engine Team announced this on the parntership event at Paris last week.
CodeIgniter works fine on Google App Engine's PHP.
Working Demo at : http://ci-on-gae.sasidhar.com/
Source files for the entire above demo site are in Github at : https://github.com/sasidhar/codeigniter-gae-app
I was wondering whether it's possible to install a phpbb instance to Google App Engine since I saw this: https://developers.google.com/cloud-sql/ and this: http://php-apps.appspot.com/
Standing up a phpBB instance on Google App Engine and Cloud SQL.
They seem to have done it. I am trying to look for a Youtube tutorial.
I am not that expert but as far as I know GAE is not natively designed for PHP.
You can definitely use this instruction as a basis on How to Add phpBB with Jelastic service. The given instruction seems to present a pretty easy start.
Yes, it's possible -- see: http://fredsa.allen-sauer.com/2013/07/standing-up-phpbb-instance-on-google.html
(App Engine now has a PHP runtime: https://developers.google.com/appengine/docs/php/).
Maybe. It's hard to say. It's possible to run SQL as well as PHP via Quercus (JVM). The limitations you'll run into are if phpBB depends on any specific behavior that App Engine does not support, such as native filesystem access. I haven't heard of anyone trying phpBB on GAE before, so if you took a shot at it, you'd be blazing a trail!
I am planning to create a facebook canvas app using php sdk.
Google app engine providing free account so I am planning to do it.
But still there is a problem , right now google app engine support only java and python.
Is there any way to run php and mysql in google app engine?
Okay, I am two years late, but from today PHP is officially available on Google App Engine.
PHP can't run natively on the App Engine. But, there is an open source tool called Quercus, a 100% Java implementation of the PHP language (requires JDK 1.5). Since the App Engine now supports Java this means you can use Quercus to run PHP scripts on the App Engine.
You can run PHP scripts on App Engine in the JVM with Quercus; however, it's still not possible to use mySQL; you'll need to use the App Engine datastore. This will require rewriting any code that touches a database, so existing PHP scripts aren't going to work without a lot of hacking.
Note: relational database support is on the App Engine roadmap, but no one knows exactly when it will be available, or whether the relational database made available will be mySQL.
Google App engine now supports PHP run time. Check official documentation here - https://developers.google.com/appengine/docs/php/
You can check this blog for details on announcement - http://spsneo.com/blog/2013/05/18/php-on-google-app-engine/
Quercus is not as good as running PHP natively and it has known issues. As i understand you are starting to create an application, so i suggest using Python in appengine. Its very easy to get started.
If you have LAMP based application in mind and if you do not want to learn a new language check out Amazon Beanstalk.
I suggest making a decision based on the strengths of the platform and flexibility you need.
Google has officially announced its support for PHP on Google App Engine (GAE)
How to host PHP web application on GAE for free is explained in this tutorial.