Search
 
SCRIPT & CODE EXAMPLE
 

PHP

permissions for laravel deployment

cd /code/laravel_project
php artisan cache:clear
php artisan config:clear
sudo service php7.4-fpm stop
sudo service nginx stop

sudo chown -R $USER:www-data storage
sudo chown -R $USER:www-data bootstrap/cache
chmod -R 775 storage
chmod -R 755 bootstrap/cache
sudo service php7.4-fpm start && sudo service nginx start
Comment

PREVIOUS NEXT
Code Example
Php :: session variable in laravel 
Php :: php creazione numero random 
Php :: php capitalize first letter 
Php :: ::update() should not be called statically 
Php :: error in laravel 
Php :: php get current month first date 
Php :: how to check php version in php 
Php :: install php 8 ubuntu 
Php :: add 1 day php datetime 
Php :: create migration, controller, model and seeder laravel 
Php :: how send user to 404 page if not exist page in laravel 
Php :: laravel cron job on shared hosting 
Php :: php datum formatieren 
Php :: php date from format 
Php :: html php pass data to another page 
Php :: php fpm config file location 
Php :: lumen file upload 
Php :: how to search by sku woocommerce 
Php :: Exception::getMessage in php 
Php :: laravel get data from this year 
Php :: cakephp 2.x join 
Php :: image store short method in laravel 
Php :: php pdo database connection 
Php :: get ip address in laravel 
Php :: php append element to array 
Php :: ajax get request in laravel 
Php :: migrate particular file laravel 
Php :: php.ini location 
Php :: warning illegal string offset 
Php :: laravel empty query result 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =