{"id":283,"date":"2025-07-17T11:09:28","date_gmt":"2025-07-17T11:09:28","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/07\/17\/11792202-how-to-install-custom-php-on-hostinger-agency-plan\/"},"modified":"2026-10-29T14:33:34","modified_gmt":"2026-10-29T14:33:34","slug":"11792202-how-to-install-custom-php-on-hostinger-agency-plan","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/11792202-how-to-install-custom-php-on-hostinger-agency-plan\/","title":{"rendered":"How to install custom PHP website on Hostinger Agency Plan"},"content":{"rendered":"<p class=\"no-margin\">Hostinger <a data-click-id=\"hgr-post-content-link-agency-hosting\" href=\"\/pro\">Agency Hosting<\/a> lets you install custom PHP-based websites &mdash; including popular content management systems (CMS) and frameworks built in PHP, such as Moodle, Prestashop, Laravel, and more &mdash; using either the File Manager or SSH access provided in your hosting account.<\/p><h2 id=\"h_0d5ebb9d67\">Step 1 &ndash; Prepare your project<\/h2><p class=\"no-margin\">To begin, download the latest version of the project you want to deploy. In this tutorial, we&rsquo;ll guide you through the installation of <b>PrestaShop<\/b>.<\/p><p class=\"no-margin\">Go to the <b><a data-click-id=\"hgr-post-content-link-prestashop-download-page\" class=\"intercom-content-link\" href=\"https:\/\/www.prestashop.com\/en\/download\" target=\"_blank\" rel=\"noopener\">Prestashop download page<\/a><\/b> to get its latest version.<\/p><h2 id=\"h_34cbb73173\">Step 2 &ndash; Add a new website<\/h2><p class=\"no-margin\">On the <a data-click-id=\"hgr-post-content-link-website-list\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Website List<\/a> &rarr; &nbsp;<b>Add site<\/b> &rarr; &nbsp;<b>Custom PHP\/HTML website<\/b>, then add your domain name, or you also can <a data-click-id=\"hgr-post-content-link-use-temporary-domain\" class=\"intercom-content-link\" href=\"\/support\/2489693-how-to-access-your-website-content-without-a-domain-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">Use temporary domain<\/a>. Once it&rsquo;s done, go the <b>Dashboard<\/b>.<\/p><div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-21976\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/public\" alt=\"\" width=\"1129\" height=\"618\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=1129,fit=scale-down 1129w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1129px) 100vw, 1129px\" \/><\/div><h2 id=\"h_3b166c5d43\">Step 3 &ndash; Install your project<\/h2><h3 id=\"h_72f38b50e5\">Install via SSH<\/h3><ol>\n<li>\n<p class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-connect-to-your-ssh\" class=\"intercom-content-link\" href=\"\/support\/10657418-hostinger-agency-hosting-plans-how-to-use-remote-access-ssh-sftp\/\" target=\"_blank\" rel=\"noopener\">Connect to your SSH<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Once you&rsquo;re logged in, go to your desired directory to install the project.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Inside public_html, you will see only default.php file for newly added website<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/07\/03e94b8f-48a3-40a0-a7ff-4932765ca9ac.jpg\/public\" alt=\"Hostinger VPS terminal showing a shell prompt and commands to enter public_html directory and list files\" data-media-id=\"1673\"><\/div>\n<\/li>\n<li>\n<p class=\"no-margin\">Exit the SSH. From your local device, upload the project file to the hosting and the directory.<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/07\/7c1cdd85-719c-44b2-9ebf-8f9c50b33445.jpg\/public\" alt=\"Terminal showing an SCP upload of a PrestaShop backup archive to the server public_html folder\" data-media-id=\"1674\"><\/div>\n<pre><code>scp -P 65002 ~\/Downloads\/prestashop_edition_basic_version_9.0.0-1.0.zip username@yourdomain.com:\/home\/username\/domains\/yourdomain.com\/public_html<\/code><\/pre>\n<p class=\"no-margin\">Replace:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><code>~\/Downloads\/prestashop_edition_basic_version_9.0.0-1.0.zip<\/code> with the actual path to the file on your computer<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><code>username<\/code> and <code>yourdomain.com<\/code> with your actual SSH credentials and domain<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><code>-P 65002<\/code> is the default SSH port<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p class=\"no-margin\">Login back to the SSH, then unzip the project<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/07\/fd83565b-f529-415b-b643-4178caa768d3.jpg\/public\" alt=\"Terminal showing unzip extracting PrestaShop files into the public_html directory\" data-media-id=\"1675\"><\/div>\n<pre><code>unzip prestashop_edition_basic_version_9.0.0-1.0.zip<\/code><\/pre>\n<\/li>\n<\/ol><h3 id=\"h_a90570ad1e\">Install via File Manager<\/h3><ol>\n<li>\n<p class=\"no-margin\">Open your File Manager<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click the<b> Upload Files<\/b> icon at the top-right.<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/07\/a692f9b3-ba0e-496c-aad5-f5e315ebea6d.jpg\/public\" alt=\"File Manager upload dialog with the File option highlighted\" data-media-id=\"1676\"><\/div>\n<\/li>\n<li>\n<p class=\"no-margin\">Extract the file.<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/07\/37486b8d-9d8b-49f9-8cae-a54fa33eaad2.jpg\/public\" alt=\"File manager menu with Extract option highlighted\" width=\"132\" data-media-id=\"1677\"><\/div>\n<\/li>\n<\/ol><h2 id=\"h_d1f20c15e3\">Step 4 &ndash; Create database<\/h2><p class=\"no-margin\">After the installation file is uploaded to File Manager, you just need to <a data-click-id=\"hgr-post-content-link-create-the-database\" class=\"intercom-content-link\" href=\"\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">create the database<\/a> for the website.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">Database credentials also should have been updated in the application. For Prestashop, it is located under the file <i>\/app\/config\/parameters.php<\/i><\/div><h2 id=\"h_85a18fbaa7\">Step 5 &ndash; Launch the website<\/h2><p class=\"no-margin\">The last step, launch the website and complete the necessary configuration steps.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">If you&rsquo;re deploying a static front-end application instead of a CMS, see <a data-click-id=\"hgr-post-content-link-how-to-upload-a-static-front-end-application-on-agency-plan\" href=\"\/support\/how-to-upload-a-static-front-end-application-on-agency-plan\/\">how to upload a static front-end application on Agency plan<\/a> for the relevant steps. For more on your plan&rsquo;s features, see <a data-click-id=\"hgr-post-content-link-how-to-get-started-with-hostinger-agency-hosting-plans\" href=\"\/support\/10656861-hostinger-agency-hosting-plans-how-to-get-started\/\">how to get started with Hostinger Agency Hosting plans.<\/a><\/div><p>Once your custom PHP project is installed and configured, your website is ready to go live.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step-by-step of installing custom PHP website on Agency Plan<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[294],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-agency-hosting-plans"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/11792202-how-to-install-custom-php-on-hostinger-agency-plan","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":22335,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/283\/revisions\/22335"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}