CodeIn House

  • Laravel
  • WordPress
  • jQuery
  • Javascript
  • Contact
Home   Laravel   How to Deploy Upload and Install Laravel 5.4 to iPage Shared ...

How to Deploy Upload and Install Laravel 5.4 to iPage Shared Hosting ?

June 15, 2021 by SNK

upload laravel 5 to shared hosting

In this tutorial i will show you how to upload laravel 5 to shared hosting. last time i was trying to upload laravel project to server but it was showing 500 error.

So here, we will see how to fix this error and finally able to upload laravel 5 to shared hosting and upload laravel project to server.

iPage has different type of control panel compared to other shared hostings. So its little bit different to upload the project to ipage shared hosting. We can do it from filezilla but it takes a lot of time to upload since laravel application is minimum of 23MB and has chunks of files in high amount.

So, its better to directly upload the archive and extract  by logging it cpanel.

Lets get started :-

What we are going to do ?

  1. Upload Laravel Application to your iPage hosting server.
  2. Check PHP Version in CGI and Scripting Language Support.
  3. Re-check your .env and .htaccess file.

Step 1 :-

To upload your laravel application to shared hosting, zip your application in archive and upload it into your hosting server via ftp through filezilla.

Login into your control panel via web browser and go to additional tools > archive gateway. Check your uploaded files in the folder you uploaded.

extract zip files using ipage archive gateway

Click on it and extract the files into the same web directory. Now, if you login back again from filezilla your directory should look like the image below :-

ipage shared hosting directory via filezilla

step 2 :-

Now, its time to check the php version of your server. Go to control panel of your ipage and go to CGI and scripting language support > php scripting. Now you have to check the php version of your server.

set php version in cgi and script language support

Laravel by default needs at least 5.6. Mine was 5.5 by default, so i had to change it to maximum which is 5.6.

After you set up your php version lets move on to step 3.

 

Step 3 :-

Even if you uploaded the files in zip. The dot files that are mostly .htaccess and others are hidden by default from ipage shared hosting. So you need to upload it via ftp to make them visible.

Laravel have 2 dot files. one of them is .htaccess and others is .env where you store all the connection to the database details. Even if i uploaded the files into the server the  .htaccess file and .env file are still not visible in ftp.

Re-upload those files into the server via ftp through filezilla.

Thats it, this is all you have to do to host and upload laravel 5 to shared hosting. Try visiting your website and check all your inner pages and make sure that everything is working.

By now its have been fixed If you have any problem feel free to mention them in the comments section.

SHARE ON
Buffer

Enjoyed this article?

Like us on

Laravel upload laravel 5 project to server upload laravel 5 to shared hosting upload laravel to shared hosting server

Avatar for SNK

About SNK

Hello Welcome to my Blog. I develop Websites Using Laravel Framwork & WordPress. Get Latest updates on Facebook | Twitter

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get Connected !! With Us

TOP POSTS

  • How to Setup Spring MVC Project From Scratch in Intellij IDEA ?
  • Spring Configuration Class in JAVA [Class VS XML Config]
  • Annotations Based Configuration in Spring Framework
  • How to Configure Spring Framework with XML Configurations?
  • How to Remove Project Name from URL in JSP Project in Intellij IDEA ?

TUTORIALS TILL DATE

  • September 2022 (6)
  • June 2021 (7)
  • October 2020 (5)
  • September 2020 (6)
  • September 2018 (14)
  • August 2018 (3)
  • July 2018 (4)
  • March 2018 (8)
  • February 2018 (5)
  • January 2018 (1)
  • December 2017 (2)
  • August 2017 (8)
  • May 2017 (1)
  • April 2017 (1)
  • March 2017 (4)
  • February 2017 (3)
  • January 2017 (4)

CATEGORIES

  • Angular (2)
  • CSS3 (3)
  • D3 (3)
  • HTML5 (7)
  • JAVA (11)
  • Javascript (20)
  • jQuery (8)
  • Laravel (35)
  • Others (3)
  • PHP (11)
  • Spring (2)
  • WordPress (10)

Top Categories

  • Angular
  • CSS3
  • D3
  • HTML5
  • JAVA
  • Javascript
  • jQuery
  • Laravel
  • Others
  • PHP
  • Spring
  • WordPress

Get in Touch

DMCA.com Protection Status

Recent Articles

  • How to Setup Spring MVC Project From Scratch in Intellij IDEA ?
  • Spring Configuration Class in JAVA [Class VS XML Config]
  • Annotations Based Configuration in Spring Framework
  • How to Configure Spring Framework with XML Configurations?
  • How to Remove Project Name from URL in JSP Project in Intellij IDEA ?

© 2012-22 CodeIn House.  •  All Rights Reserved.