Install On cPanel Shared Hosting
To install on cPanel shared hosting, access cPanel, and follow the installation prompts for seamless setup.
Follow This Instructions
- Zip your project file.
- Login to cPanel and navigate to File Manager.
- Ensure you're in the root folder, then click "Upload".
- Select your zip file and wait for the upload to complete.
- Unzip the uploaded file.
- All files and directory move to the root folder.
- Go back to Cpanel and navigate to Database.
- Created a database and add (create if non exist) a DB user.
- Click on your fresh DB, and click "Import"
- Select Our RazinSkill.sql file
- Make hidden files visible in your cpanel then finally edit the
.env
file and edit DB Name, DB Username, Password, etc. - You don't need to make changes to the structure of Laravel. Just copy below htaccess code and paste it
into the
.htaccess
file at the root of your project. (Already provide this file if this file does not exist please continue this step). -
<IfModule mod_rewrite.c"> RewriteEngine On RewriteBase / RewriteRule ^$ public/index.php [L] RewriteRule ^((?!public/).*)$ public/$1 [L,N </IfModule>
Example
WARNING
You should configure your web server's document / web root to be the public directory.
Configuration
Please copy the .env.example
and rename it to .env
and
fill up the .env
- APP_NAME = (Youe App Name)
- APP_ENV = (Local Production)
- APP_URL = (https:// Your Domain Link..)
- DB_DATABASE = (Your Database Name)
- DB_USERNAME = (Your Database Username)
- DB_PASSWORD = (Your Database Password)
- MAIL_MAILER = (SMTP Email Relay Services)
- MAIL_HOST = Your Mail Host(For Example: smtp.gmail.com)
- MAIL_PORT = Your Mail Port(For Example: 587)
- MAIL_USERNAME = (Your Mail Username)
- MAIL_PASSWORD = (Your Mail Password)
- MAIL_ENCRYPTION = (SSL, TLS)
- MAIL_FROM_ADDRESS = (For Example: no-reply@gmail.com)
You need to fill the database connection details, administration details, and store details to .env example file.
UNNECESSARY ERROR
If no uploaded image is visible.
- At first go to public directory laundry / public if exit is storage folder delete this.
- Then go to
route/web.php
paste this code. -
Route::get('/storagelink', function () { Artisan::call('storage:link'); });
- Go to your URL For Example:
http://razinsoft.com/storagelink