Installation

Created by Ajay Kumar Choudhary, Modified on Tue, 15 Mar, 2022 at 1:19 PM by Abhinav Saraswat

Video Link



Pre-installation Requirements:

 

File System Permissions

 

To be able to start the installation at all, you must set appropriate permissions for storage folder and it's subfolders. So, the very first thing to do is to set permissions to 777 for storage folder, all its subfolders.

 

After setting the permissions you are ready to proceed to the installation.

 

After downloading the ZIP archive, and uploading it to your server, the first thing you have to do is to create the database where system tables will be created. Let's say, you create the database called pms.


Step 1 - Welcome Screen


After creating the database next step is accessing the application URL from a browser. One thing you need to know is that Laravel is designed to allow HTTP access to the application from your public folder only. This means that this application will be available at yourdomain.com/public. It is good enough for installation and development purposes, however, for production, you will probably want to have your application available at yourdomain.com. In next section, I will show you how you can accomplish that.


Note: If you see any error check that you should have .env file at your root location.



To open the installer. Visit yourdomain.com/public/install

 

Now the installer will show up.The First screen will be Welcome Screen

 

Note: If you are not able to access the website by accessing yourdomain.com/public/install, but you are able to access it via yourdomain.com/public/index.php/install, this means that you probably don't have Apache mod_rewrite installed and enabled.

 


Step 2 - Database/Environment Setting


You have to fill in your database credentials 



Step 3: System Requirements


After clicking on "Next" button, you will be redirected to System  Requirements step during the installation wizard, System Requirements.



Step 4 - Directory Permissions


After successfully enabling and installing all required PHP extensions, next step is to set the appropriate permissions for some system folders. All directories listed on step 4 has to be writable by the application, as it is displayed on the following picture.


chmod -R 775 storage/app storage/framework/ storage/logs/ bootstrap/cache/


 


Step 5: Exit

The last step is exit step.

Now You are ready to go.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article