Is this possible to run the WebSocket service in Google Cloud App Engine, not for Compute Engine for PHP.
I need to run below service:
php service.php
This does not currently appear to be possible.
WebSocket support for Google App Engine is in beta for Python, Java, and Node.js. It is not listed as supported for the PHP runtime.
the Websockets feature in App Engine Flexible environment works for all languages, even though only three are documented.
Related
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.
I want do develop for Mac Appstore using Laravel PHP. Is there any framework that contains Nginx, Webkit and Sqlite, and if there is no such framework, how easy it is to create one?
I am aware of tidesdk.org but will not help me to develop using Laravelphp framework.
Update: i am not asking about iOS, i just want to develop for OS X.
There are two approaches for this:
1) With building a full blown application in just PHP, there is a framework called miniPHP. It's the only thing I could find for OS X, other than WinBinder (windows only).
2) Build a web based application and embed it in a WebView. The OS X GUI would be in Objective C, but the meat of the application would be on the server.
I personally feel option #1 is a bad idea because PHP isn't designed to run as an instance application. It's better used for web applications or command line scripts.
Option #2 is your best option. I believe the WebView has bindings with JavaScript to make calls to/from the GUI application. I personally haven't used WebView, so I'm not sure how that works. I mostly develop on iOS, and the UIWebView is limited by comparison.
Shortly, you can't.
PHP is a back-end language. Though you can use the Webkit engine in OSX to run your app, the GUI of your app should be write in Javascript and HTML. You can search google with "HTML5 native app" to get more information.
As for Nginx, it is a server program. It serves for server but not client. Anyone who wants to build an app in Mac Store or Google Play or whatever should not involve Nginx.
SQLite can be helpful in native app development, I think you could use SQLite with some form of API that the framework you use providing.
To get more info, see PhoneGap and Node-webkit, they could help you assuming you are a web developer. And if you plan to develop on OSX, the recommend way is Objective-c Language and Cocoa Framework and Xcode IDE.
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.
I want to use Google App Engine for the static data for my Joomla website. I want to host all the CSS and JS files on App Engine.
Joomla is written using PHP.
By default Google App Engine only supports applications written in Python, and in the future Java. See Google App Engine FAQ so PHP is not natively supported.
There is a way to run PHP on Google App Engine however by using a Java Virtual Machine named Quercus. Your biggest issue will be that it will require large amounts of modification to Joomla's source code with the change to using GQL instead of SQL.
Source: http://www.phpclasses.org/blog/post/92-Running-PHP-on-Google-App-Engine.html
Are you looking for ways to easily scale your Joomla installation?
Google App Engine now supports PHP. Hence, you can run Joomla!.
See this link.