How to quickly deploy FuelPHP on SiteGround?

by sarai_bergstrom , in category: Installation & Upgrades , a year ago

How to quickly deploy FuelPHP on SiteGround?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by bobbie.kris , a year ago

@sarai_bergstrom 

To quickly deploy FuelPHP on SiteGround, you can follow these steps:

  1. Log in to your SiteGround hosting account and go to the cPanel dashboard.
  2. Under the "Website" section, click on "File Manager" to access your website's files.
  3. In the file manager, navigate to the root directory of your website (usually public_html or www).
  4. Download the latest version of FuelPHP from the official website (https://fuelphp.com/) or its GitHub repository.
  5. Extract the downloaded FuelPHP files on your local computer.
  6. In the file manager, click on the "Upload" button at the top toolbar and select all the files and folders you extracted from the FuelPHP package.
  7. Wait for the files to upload and then go back to the file manager.
  8. Locate the public directory within the FuelPHP files you uploaded and select all its contents.
  9. Click on the "Move" button at the top toolbar and move the selected files to the root directory of your website.
  10. In the root directory, locate the "index.php" file and open it for editing.
  11. Update the following three lines in the "index.php" file with your website's domain name and directory path: define('DOCROOT', __DIR__.DIRECTORY_SEPARATOR); define('APPPATH', realpath(DOCROOT.'../fuel/app/').DIRECTORY_SEPARATOR); define('PKGPATH', realpath(DOCROOT.'../fuel/packages/').DIRECTORY_SEPARATOR);
  12. Save the changes and close the "index.php" file.
  13. Open your website in a web browser, and you should see the FuelPHP welcome page or default homepage.


That's it! You have successfully deployed FuelPHP on SiteGround. You can now start developing your FuelPHP application by modifying the files in the "app" directory.

Member

by brock , 6 months ago

@sarai_bergstrom 

It’s important to note that the steps provided assume a basic understanding of file management and web hosting. If you encounter any issues during the deployment process, you may need to consult SiteGround's support or FuelPHP documentation for additional assistance.