I'm trying to set up my new website using Google App Engine (PHP). I have bought the domain and my website is working fine. Well, kind of. I have two forms on my website, one asks for just an email and other a contact form. Both of them accepts input but can't send the input to where they are supposed to. A message is displayed, "PHP scripts/files are either not configured properly or are missing. Contact your host." Here's the thing, I made my website using Adobe Muse and their forms uses PHP. I have provided all my static html files to Google App Engine (which I'm using as a host) using the Deploy function but whenever I hit deploy, most of the files are read and uploaded except the 8 .php files. The error says, "Mimetype can't be recognized for *.php. Using application octet stream instead." How do I upload my .php files? (What to write in my app.yaml) I can use the script: operative for lets say index.php but that page only requires two more php files to run the form and we can't use script: 3 times for a single page. If you have any knowledge of HTML or HTML5, can you tell me how to make a form that doesn't use PHP? I'm not using a database. The only thing the form has to do is to send the input to an email. My website is Subscriber Shop. My app.yaml currently,
My index page, contact page and another are supposed to have these 3 forms and they use a total of 8 .php files that are in static_website/scripts Can anyone please help? PS: The support at Adobe Muse says that PHP is not configured. Contact the server admin. How do I tell Google To enable php? |
I have two forms on my website, one asks for just an email and other a contact form. Both of them accepts input but can't send the input to where they are supposed to. A message is displayed, "PHP scripts/files are either not configured properly or are missing. Contact your host."
I made my website using Adobe Muse and their forms uses PHP. I have provided all my static html files to Google App Engine (which I'm using as a host) using the Deploy function but whenever I hit deploy, most of the files are read and uploaded except the 8 .php files. The error says, "Mimetype can't be recognized for *.php. Using application octet stream instead."
How do I upload my .php files?
- url: /unsubscribe
script: static_website/jl3sxnhv7vv.php
PS: The support at Adobe Muse says that PHP is not configured. Contact the server admin. How do I tell Google To enable php?
On Thu, Oct 2, 2014 at 6:34 AM, Anmol Parashar <4nm...@gmail.com> wrote:
- url: /unsubscribe
script: static_website/jl3sxnhv7vv.phpI see that your PHP scripts are in your static files directory. You need to move them into their own directory or put them at root.
application: subscribershop
version: 1
runtime: php
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
#root
- url: /
script: static_website/php
#serve our home page in case index.html is requested
- url: /index.html
static_files: static_website/index.html
upload: static_website/index.html
I have done everything. From exporting the files to uploading them on the App Engine. The only thing I can't figure out is how to upload the 8 .php files. I moved them to a different folder but the upload: directive didn't work. Can you please give me exact commands to write in my app.yaml for putting them in the root?
- url: /scripts
static_dir: static_website/scripts
with