Chapter 7. Provisioning
After you choose a host for your application, itâs time to configure and provision the server for your PHP application. Iâll be honestâprovisioning a server is an art, not a science. How you provision your server depends entirely on your applicationâs needs.
Note
If you use a PaaS, your server infrastructure is managed by the PaaS provider. All you have to do is follow the providerâs instructions to move your PHP application onto their platform, and youâre ready to go.
If you donât use a PaaS, you must provision either a VPS or dedicated server to run your PHP application. Provisioning a server is not as hard as it sounds (stop laughing), but it does require familiarity with the command line. If the command line is alien to you, youâre better off with a PaaS like Engine Yard or Heroku.
I donât consider myself a system administrator. However, basic system adminstration is an incredibly valuable skill for application developers that enables more flexible and robust application development. In this chapter, Iâll share my system administration knowledge so you can feel comfortable opening a terminal to provision a server for your PHP application. Afterward, Iâll suggest a few additional resources for you to continue improving your system administration skills.
Get Modern PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.