Laravel version
How to install the script
Laravel script requires
PHP version 8.0.2 and more.
1) Unzip and upload files on your server
If you use a shared hosting you should upload files into your site root directory.
If you have an own server it is better to point your domain to /public/ directory.
2) Edit /.env file and set the parameters:
APP_URL=https://www.yourdomain.com
DB_HOST=127.0.0.1
DB_CONNECTION=mysql
DB_PORT=3310
DB_DATABASE=[your database name]
DB_USERNAME=[database user]
DB_PASSWORD=[database password]
3) Go to www.yourdomain.com/install/ and click "Install Now"
If the installation page doesn't open or opens with errors you should check writable permissions for the folders:
/path_to_site/storage/framework/cache
/path_to_site/storage/framework/sessions
/path_to_site/storage/framework/testing
/path_to_site/storage/framework/views
4) Set "storage" folder link:
You have to set a link from the directory:
/path_to_site/storage/app/public/
to:
/path_to_site/public/storage/
Method 1:
- Go to Hosting panel -> File manager
- Open the directory /path_to_site/public/
- Create a link 'storage' with path: /path_to_site/storage/app/public/
Method 2:
- Run the command in terminal/cmd/shh:
ln -s /path_to_site/storage/app/public /path_to_site/public/storage
Method 3:
- Run the command in terminal/cmd/shh:
cd /path_to_site/
- Then the command:
php artisan storage:link
Method 4:
That's all!
If you have any questions/problems you should Contact Us