The default rewrite logic works for most PHP applications:
If the file does not exist, then rewrite the request to index.php.
If a user tries to access /config and you have not set a web root, then a 404 error occurs. This is best practice for security since configs are in that directory.
You might have these questions about PHP on Engine Yard Cloud.
Can I still use Orchestra PHP Cloud?
No; the Orchestra PHP Cloud product end of life (EOL) was August 30, 2013. If you need help, contact Engine Yard Support.
What about the Engine Yard preview with PHP?
We are excited about the upcoming preview, which will give you a glimpse into the new user experience and future of Engine Yard Cloud. The first preview uses PHP and will be your chance to provide feedback.
What are the tech stack components for PHP on Engine Yard Cloud?
You can view our deployed phpinfo app for full stack details. Or here's a quick overview:
MySQL 5.5 - This is the default version for MySQL. (MySQL 5.0 is no longer supported with GA PHP.)
64 bit only - (optional) If you have had an Engine Yard account for a while and have access to 32-bit instances, you might want this. If you do not currently have any 32-bit instances deployed, then we can set this for you. Contact Engine Yard Support for help with this option.
What if I really need PHP 5.3?
The default version of PHP on Engine Yard Cloud is 5.4. If you need PHP 5.3, you can check out this doc or contact Engine Yard Support.
Can you use Chef with PHP on Engine Yard Cloud?
Yes; we've created this basic repo: https://github.com/engineyard/ey-cloud-recipes-chef-10 (from our previous repo that used .06) and have included a PHP 5.3 downgrade recipe in case you need it. You can clone this repo and then add recipes using standard Chef 10 best practices.
Are deploy hooks supported with PHP on Engine Yard Cloud?
Yes; deploy hooks are supported, they just need to be written in Ruby. See Use Deploy Hooks for more information.
Do all the Engine Yard Cloud add-ons work with PHP?
These add-ons work out-of-the-box:
These add-ons should work for integrated billing but require manual configuration in your app and may fail if the credentials were to change:
If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.