aws-amplify / aws-amplify/amplify-hosting
Error when adding php file (contact form)
- Dominant language
- Dockerfile
- Stars
- 481
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
### Before opening, please confirm:
- [X] I have checked to see if my question is addressed in the [FAQ](https://github.com/aws-amplify/amplify-hosting/blob/master/FAQ.md).
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-hosting/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting questions](https://github.com/aws-amplify/amplify-hosting/blob/master/CONTRIBUTING.md).
- [X] I have removed any sensitive information from my code snippets and submission.
### App Id
New_app
### AWS Region
us-east-1
### Amplify Hosting feature
One click deploy
### Question
When I deploy one page in all html, there are no issues.
however, when I add a contact form calling php in html.index with a submit.php in the folder, an error message pops up 'syle file not available'
any idea why with php files browser us not able to display the site
Contributor guide
Research direction
Review the one-click deployment behavior for the named html.index and submit.php files, starting with whether PHP execution is supported by Amplify Hosting. Reproduce the reported styling error with the described contact form; done means either identifying the deployment failure and its fix or clearly documenting the hosting limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100