I have hosted some pages in Google drive hosting. Working Fine. But I need to add server side scripting. The Google Drive FAQ states, that I can't run server side scripts like PHP, so I need to have an alternative.

So I have 2 questions:

  1. Can I keep the pages on Google drive but add scripting from somewhere else?
  2. What alternatives do I have to host PHP pages comfortably

Google drive makes live quite easy, since I can create files locally and it takes care of synchronization.

What would you recommend to look at/look for?

有帮助吗?

解决方案

First thing, server side scripting is not allowed at Drive. Though at Google, you can use Google App Engine for scripting purposes. Many more languages are now supported here, like Go, PHP, Python and Java. You can learn App Engine.

Second thing, to get a better hosting experience, purchase some server space. For learning purposes, you can sign up at many free hosting services. Later switch to the paid version.

其他提示

Google Drive is not made for what you're trying to do.

You might want to look into Google Cloud or Google App Engine.

Google drive simply doesn't allow PHP. It is stated [in the documentation]( https://support.google.com/drive/answer/2881970?hl=en), which is the first link when you google "Google drive PHP"

To run code on files hosted in Google, you need to use the Google App Engine. It does run PHP, Java, Python, Go.

But it might not be what you are looking for. Using a classic web site hoster might be the better approach

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top