I think Vinny P is on the right track. Only thing I can see (as stated 
earlier) is the PHP trying to upload as static files. Put the files back 
where they were then replace:

- url: /scripts
static_dir: static_website/scripts


with 


- url: /(.+\.php)$
script: \1

https://cloud.google.com/appengine/docs/php/config/appconfig#PHP_app_yaml_About_app_yaml

And try the upload again.

On Thursday, October 2, 2014 7:34:31 AM UTC-4, Anmol Parashar wrote:
>
>
>   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 <http://subscribershop.com>.
>
> My app.yaml currently,
>
>> application: sub
>>> version: 1
>>> runtime: php
>>> api_version: 1
>>> threadsafe: yes
>>>
>>> handlers:
>>> - url: /favicon\.ico
>>> static_files: favicon.ico
>>> upload: favicon\.ico
>>>
>>> - url: /
>>> static_files: static_website/index.html
>>> upload: static_website/index.html
>>>
>>> - url: /index.html
>>> static_files: static_website/index.html
>>> upload: static_website/index.html
>>>
>>> #specific html pages:
>>> - url: /about-us.html
>>> static_files: static_website/about-us.html
>>> upload: static_website/about-us.html
>>>
>>> - url: /faqs.html
>>> static_files: static_website/faqs.html
>>> upload: static_website/faqs.html
>>>
>>> - url: /drop-a-word.html
>>> static_files: static_website/drop-a-word.html
>>> upload: static_website/drop-a-word.html
>>>
>>> - url: /unsubscribe
>>> script: static_website/jl3sxnhv7vv.php
>>>
>>> - url: /css
>>> static_dir: static_website/css
>>>
>>> - url: /images
>>> static_dir: static_website/images
>>>
>>> - url: /scripts
>>> static_dir: static_website/scripts
>>>
>>> - url: /phone
>>> static_dir: static_website/phone
>>>
>>> - url: /.*
>>> static_files: static_website/what-what.html 
>>> upload: static_website/what-what.html
>>>
>>> inbound_services:
>>> - mail
>>> - xmpp_subscribe
>>>
>>>
>
> 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?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to