• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Unable to create lockable file - Laravel 8 & PHP 8

phplaravel


PHP Snippet 1:

sudo chmod 775 /home/vagrant/code/project_folder_name
sudo chown -R vagrant:vagrant /home/vagrant/code/project_folder_name

PHP Snippet 2:

sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache

PHP Snippet 3:

chown -R apache:apache storage/framework

Related Snippets

Laravel Multi-language routes without prefix

woocommerce_wp_select options array from product attribute terms

send email using gmail-api and google-api-php-client

set mail driver dynamically from database for different email in notification

How do I upload a laravel project on cPanel shared hosting?

OctoberCMS / Anonymous Global Scope

Unsure why I am getting: Number of variables doesn't match number of parameters in prepared statement

Twig - How to check if variable is a number / integer

merge all files in directory to one text file

Adding hreflang tags automatically in WordPress subdirectory multisite

How to make autocomplete work in foreach php loop? (vscode, intellisense)

PHP using str_starts_with for array to exclude same as with wildcard

Laravel Command Schedule Not Working Properly

unable to load your default controller on Codeigniter

Insert database rows from columns of data from associative array of indexed arrays

About Contact Privacy policy Terms and conditions