<\/span><\/h2>\r\n\r\n\r\n\r\nOnce we add the one dollar to our Cloud Account, we’ll need to set up our new environment on the cloud.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThen we need to choose NGINX instead of Apache on our application server as shown below:<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nYou can also switch between the PHP version on this menu, so you can choose one that fits better for you.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nOnce we finish the selection on this table, we can hit Create and this window will close and a pop-up will appear on the right side of our dashboard.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nAfter the environment deploys, we need to upload our PHP website to the instance, and this can be done in 3 ways, URL, GIT, and ZIP file. We’ll describe below how to do with all types.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\n<\/span>Uploading PHP using a compressed file.<\/strong><\/span><\/h2>\r\n\r\n\r\n\r\nIn this step, you need to compress all your PHP files into a zip. If you have a Windows Machine, you can just do these steps to create a zip file:<\/p>\r\n\r\n\r\n\r\n
Create an empty zip file (If in your computer you don\u2019t have Winrar, the option will be called \u201cCompressed (zipped) folder\u201d)<\/strong><\/em><\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThen after creating the file, you should nominate it to whatever you like more. Please avoid using spaces and special characters.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nAfter you create the zip file, we’ll need to put our PHP structure inside the zip file. We can do that by selecting the files and dragging them inside the ZIP.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nSo, now we have our PHP website inside the zip, let’s upload it to our environment as shown below:<\/p>\r\n\r\n\r\n\r\n
<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\n \r\n(You can leave “Path:” blank there. It will be automatically filled up.)<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\nOnce you reach here, you just need to hit deploy and your application will start deploying to the root.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThen, you can access your environment link without problems and your application will be there.<\/p>\r\n\r\n\r\n\r\n
<\/span>Uploading using an URL<\/strong><\/span><\/h2>\r\n\r\n\r\n\r\nIf you have your website up and running on an external provider, you can zip the content from your website and let it be available through the website link. And then our cloud will download it and extract it.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nOnce you hit Deploy, the same will happen as if you were uploading with the file. The project will start to upload, and you’ll be able to check it on the environment link.<\/p>\r\n\r\n\r\n\r\n
<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\n