{"id":38635,"date":"2021-09-13T12:30:00","date_gmt":"2021-09-13T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=38635"},"modified":"2022-07-26T05:10:40","modified_gmt":"2022-07-26T10:10:40","slug":"how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/","title":{"rendered":"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" class=\"wp-image-38693\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg\" alt=\"how to install and configure nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>In this article, we&#8217;ll learn how to install and configure PHP applications using NGINX webserver on our Cloud Environment. By using this service, we&#8217;ll be able to deploy our PHP application within minutes.<\/p>\r\n\r\n\r\n\r\n<p>The RoseHosting Cloud platform is perfect for developers, as it offers easy application deployment and configuration. It is also popular among web companies since it offers the installation of applications such as WordPress, Magento, or Odoo with a single click. Finally, many large, medium, and small businesses use our PaaS, as it offers seamless implementation of high availability clusters.<\/p>\r\n\r\n\r\n\r\n<p>Now, let&#8217;s begin with the tutorial.<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f41e2591e7b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f41e2591e7b\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Deployment\" >Deployment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Uploading-PHP-using-a-compressed-file\" >Uploading PHP using a compressed file.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Uploading-using-an-URL\" >Uploading using an URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Uploading-using-a-git-REPO\" >Uploading using a git REPO.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#Binding-custom-domain-and-installing-SSL\" >Binding custom domain and installing SSL.<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span><strong>Prerequisites<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>You should have at least 1 dollar to access our PaaS Cloud hosting Panel. You can go to our <strong><a href=\"https:\/\/www.rosehosting.com\/managed-cloud-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Managed Cloud hosting<\/a><\/strong> page and then hit sign up.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-deployment\"><span class=\"ez-toc-section\" id=\"Deployment\"><\/span><strong>Deployment<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Once we add the one dollar to our Cloud Account, we&#8217;ll need to set up our new environment on the cloud.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"287\" class=\"wp-image-38696\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.png\" alt=\"install and configure nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-300x84.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-150x42.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-768x215.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Then 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"287\" class=\"wp-image-38698\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-1.png\" alt=\"install nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-1.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-1-300x84.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-1-150x42.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/install-and-configure-nginx-and-php-on-rosehosting-cloud-paas-1-768x215.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>You 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"975\" height=\"615\" class=\"wp-image-38699\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-nginx-and-php-on-rosehosting-cloud-paas.png\" alt=\"configure nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-nginx-and-php-on-rosehosting-cloud-paas.png 975w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-nginx-and-php-on-rosehosting-cloud-paas-300x189.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-nginx-and-php-on-rosehosting-cloud-paas-150x95.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-nginx-and-php-on-rosehosting-cloud-paas-768x484.png 768w\" sizes=\"(max-width: 975px) 100vw, 975px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Once 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"265\" class=\"wp-image-38700\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/set-up-nginx-and-php-on-rosehosting-cloud-paas.png\" alt=\"set up nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/set-up-nginx-and-php-on-rosehosting-cloud-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/set-up-nginx-and-php-on-rosehosting-cloud-paas-300x78.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/set-up-nginx-and-php-on-rosehosting-cloud-paas-150x39.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/set-up-nginx-and-php-on-rosehosting-cloud-paas-768x199.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>After 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&#8217;ll describe below how to do with all types.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"266\" class=\"wp-image-38701\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/setting-up-nginx-and-php-on-rosehosting-cloud-paas.png\" alt=\"setting up nginx and php on rosehosting cloud paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/setting-up-nginx-and-php-on-rosehosting-cloud-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/setting-up-nginx-and-php-on-rosehosting-cloud-paas-300x78.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/setting-up-nginx-and-php-on-rosehosting-cloud-paas-150x39.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/setting-up-nginx-and-php-on-rosehosting-cloud-paas-768x200.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"438\" height=\"264\" class=\"wp-image-38702\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-cloud-paas.png\" alt=\"\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-cloud-paas.png 438w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-cloud-paas-300x181.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-cloud-paas-150x90.png 150w\" sizes=\"(max-width: 438px) 100vw, 438px\" \/><\/figure>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-uploading-php-using-a-compressed-file\"><span class=\"ez-toc-section\" id=\"Uploading-PHP-using-a-compressed-file\"><\/span><strong>Uploading PHP using a compressed file.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>In 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<p>Create an empty zip file <em><strong>(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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"549\" height=\"621\" class=\"wp-image-38703\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configuring-nginx-and-php-on-rosehosting-paas.png\" alt=\"configuring nginx and php on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configuring-nginx-and-php-on-rosehosting-paas.png 549w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configuring-nginx-and-php-on-rosehosting-paas-265x300.png 265w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configuring-nginx-and-php-on-rosehosting-paas-133x150.png 133w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Then 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"272\" height=\"168\" class=\"wp-image-38704\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-paas.png\" alt=\"how to set up nginx and php on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-paas.png 272w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-paas-150x93.png 150w\" sizes=\"(max-width: 272px) 100vw, 272px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>After you create the zip file, we&#8217;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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"472\" class=\"wp-image-38705\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-configuration-on-rosehosting-paas.png\" alt=\"nginx and php configuration on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-configuration-on-rosehosting-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-configuration-on-rosehosting-paas-300x138.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-configuration-on-rosehosting-paas-150x69.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-configuration-on-rosehosting-paas-768x354.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>So, now we have our PHP website inside the zip, let&#8217;s upload it to our environment as shown below:<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"558\" height=\"316\" class=\"wp-image-38706\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-configuration-on-rosehosting-paas.png\" alt=\"php and nginx configuration on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-configuration-on-rosehosting-paas.png 558w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-configuration-on-rosehosting-paas-300x170.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-configuration-on-rosehosting-paas-150x85.png 150w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"440\" class=\"wp-image-38707\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-installation-on-rosehosting-paas.png\" alt=\"nginx and php installation on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-installation-on-rosehosting-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-installation-on-rosehosting-paas-300x129.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-installation-on-rosehosting-paas-150x64.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-installation-on-rosehosting-paas-768x330.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"546\" height=\"350\" class=\"wp-image-38708\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-installation-on-rosehosting-paas.png\" alt=\"php and nginx installation on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-installation-on-rosehosting-paas.png 546w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-installation-on-rosehosting-paas-300x192.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-installation-on-rosehosting-paas-150x96.png 150w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/>\r\n<figcaption>(You can leave &#8220;Path:&#8221; blank there. It will be automatically filled up.)<\/figcaption>\r\n<\/figure>\r\n\r\n\r\n\r\n<p>Once 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"118\" class=\"wp-image-38709\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-php-and-nginx-on-rosehosting-paas.png\" alt=\"how to install php and nginx on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-php-and-nginx-on-rosehosting-paas.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-php-and-nginx-on-rosehosting-paas-300x35.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-php-and-nginx-on-rosehosting-paas-150x17.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-php-and-nginx-on-rosehosting-paas-768x89.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Then, you can access your environment link without problems and your application will be there.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-uploading-using-an-url\"><span class=\"ez-toc-section\" id=\"Uploading-using-an-URL\"><\/span><strong>Uploading using an URL<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>If 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 class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"442\" height=\"279\" class=\"wp-image-38710\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-nginx-and-php.png\" alt=\"rosehosting paas installation of nginx and php\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-nginx-and-php.png 442w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-nginx-and-php-300x189.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-nginx-and-php-150x95.png 150w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Once you hit Deploy, the same will happen as if you were uploading with the file. The project will start to upload, and you&#8217;ll be able to check it on the environment link.<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"118\" class=\"wp-image-38711\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-php-and-nginx.png\" alt=\"rosehosting paas installation of php and nginx\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-php-and-nginx.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-php-and-nginx-300x35.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-php-and-nginx-150x17.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-installation-of-php-and-nginx-768x89.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-uploading-using-a-git-repo\"><span class=\"ez-toc-section\" id=\"Uploading-using-a-git-REPO\"><\/span><strong>Uploading using a git REPO.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>This one is the best one if you want to update it automatically with a team or with a colleague.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"452\" height=\"431\" class=\"wp-image-38712\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-cofiguration-of-php-and-nginx.png\" alt=\"rosehosting paas cofiguration of php and nginx\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-cofiguration-of-php-and-nginx.png 452w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-cofiguration-of-php-and-nginx-300x286.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-cofiguration-of-php-and-nginx-150x143.png 150w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>After hitting Add New Repository, you need to fill it with your data, repo link, and repo name.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"458\" height=\"291\" class=\"wp-image-38713\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-and-install-php-and-nginx-on-rosehosting-paas.png\" alt=\"configure and install php and nginx on rosehosting paas\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-and-install-php-and-nginx-on-rosehosting-paas.png 458w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-and-install-php-and-nginx-on-rosehosting-paas-300x191.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/configure-and-install-php-and-nginx-on-rosehosting-paas-150x95.png 150w\" sizes=\"(max-width: 458px) 100vw, 458px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Be sure to configure the branch for the one that you want to deploy; master is the default. Once you hit Add, a new Box will pop up to finish the setup of your repositories.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"441\" height=\"352\" class=\"wp-image-38714\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-rosehosting-paas-configuration.png\" alt=\"php and nginx rosehosting paas configuration\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-rosehosting-paas-configuration.png 441w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-rosehosting-paas-configuration-300x239.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/php-and-nginx-rosehosting-paas-configuration-150x120.png 150w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>With this option of Git, you can set a check and auto-deploy updates. So any updates from your repo will be automatically uploaded.<br \/><br \/>If you have already finished the configuration, just hit Deploy and it will start deploying.<\/p>\r\n\r\n\r\n\r\n<p>Now, we need to set up a custom domain for our environment and put it in production.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-binding-custom-domain-and-installing-ssl\"><span class=\"ez-toc-section\" id=\"Binding-custom-domain-and-installing-SSL\"><\/span><strong>Binding custom domain and installing SSL.<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>We&#8217;ll not proceed with the domain binding, so we can use this environment as production. Just access settings from your environment.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"493\" class=\"wp-image-38715\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-rosehosting-paas-configuration.png\" alt=\"nginx and php rosehosting paas configuration\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-rosehosting-paas-configuration.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-rosehosting-paas-configuration-300x144.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-rosehosting-paas-configuration-150x72.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/nginx-and-php-rosehosting-paas-configuration-768x370.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Once you bind, a pop-up will appear on the right top.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"369\" height=\"143\" class=\"wp-image-38716\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-nginx-and-php-on-rosehosting-platform-as-a-service.png\" alt=\"how to install nginx and php on rosehosting platform as a service\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-nginx-and-php-on-rosehosting-platform-as-a-service.png 369w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-nginx-and-php-on-rosehosting-platform-as-a-service-300x116.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-nginx-and-php-on-rosehosting-platform-as-a-service-150x58.png 150w\" sizes=\"(max-width: 369px) 100vw, 369px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Then, when the domain is listed below the box, we can proceed with the SSL installation. Be sure that you pointed your domain\/subdomain to the environment link as shown on step 2 from the dashboard.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"678\" height=\"517\" class=\"wp-image-38717\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-platform-as-a-service.png\" alt=\"how to set up nginx and php on rosehosting platform as a service\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-platform-as-a-service.png 678w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-platform-as-a-service-300x229.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-set-up-nginx-and-php-on-rosehosting-platform-as-a-service-150x114.png 150w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>You should now fill your domain on the External Domain(s) and hit Install. Your SSL request will start to be issued and then you&#8217;ll be able to access your domain with a valid SSL and will see your PHP application.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"539\" height=\"181\" class=\"wp-image-38719\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-setting-up-of-nginx-and-php-1.png\" alt=\"rosehosting paas setting up of nginx and php\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-setting-up-of-nginx-and-php-1.png 539w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-setting-up-of-nginx-and-php-1-300x101.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/rosehosting-paas-setting-up-of-nginx-and-php-1-150x50.png 150w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>After this screen closes, you&#8217;re ready to go and start using your environment as production. You have successfully deployed your PHP application to our Cloud PaaS. Of course, if you face any problems or need any assistance to deploy your application to our fully-managed <a href=\"https:\/\/www.rosehosting.com\/managed-cloud-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Cloud PaaS hosting<\/a>, you can always contact us. We are available 24\/7 to help you.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>In this article, we&#8217;ll learn how to install and configure PHP applications using NGINX webserver on our Cloud Environment. By &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#more-38635\" aria-label=\"Read more about How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":38693,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13],"tags":[1932,1603,49,50],"class_list":["post-38635","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rosehosting","category-tutorials","tag-cloud-paas","tag-how-to-install","tag-nginx","tag-php","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS<\/title>\n<meta name=\"description\" content=\"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-13T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-26T10:10:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg?v=1629269706\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS\" \/>\n<meta name=\"twitter:description\" content=\"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS\",\"datePublished\":\"2021-09-13T17:30:00+00:00\",\"dateModified\":\"2022-07-26T10:10:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/\"},\"wordCount\":831,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg\",\"keywords\":[\"cloud paas\",\"how to install\",\"nginx\",\"php\"],\"articleSection\":[\"RoseHosting Platform\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/\",\"name\":\"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg\",\"datePublished\":\"2021-09-13T17:30:00+00:00\",\"dateModified\":\"2022-07-26T10:10:40+00:00\",\"description\":\"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install and configure nginx and php on rosehosting cloud paas\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS","description":"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS","og_description":"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2021-09-13T17:30:00+00:00","article_modified_time":"2022-07-26T10:10:40+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg?v=1629269706","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS","twitter_description":"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS","datePublished":"2021-09-13T17:30:00+00:00","dateModified":"2022-07-26T10:10:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/"},"wordCount":831,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg","keywords":["cloud paas","how to install","nginx","php"],"articleSection":["RoseHosting Platform","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/","name":"How to Install and Configure Nginx and PHP on RoseHosting Cloud PaaS","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg","datePublished":"2021-09-13T17:30:00+00:00","dateModified":"2022-07-26T10:10:40+00:00","description":"In this tutorial, you will learn how to install and configure Nginx and PHP on RoseHosting cloud platform-as-a-service.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/08\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas.jpg","width":742,"height":372,"caption":"how to install and configure nginx and php on rosehosting cloud paas"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-nginx-and-php-on-rosehosting-cloud-paas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure NGINX and PHP on RoseHosting Cloud PaaS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=38635"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38635\/revisions"}],"predecessor-version":[{"id":42807,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38635\/revisions\/42807"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/38693"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=38635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=38635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=38635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}