Showing posts with label laravel-installation-errors. Show all posts
Showing posts with label laravel-installation-errors. Show all posts

how to edit configuration file from cli

 php --ini | grep 'Loaded Configuration File'

 1994  nano /etc/php/8.1/cli/php.ini

 1995  sudo nano /path/to/php.ini

 1996  sudo nano /etc/php/8.1/cli/php.ini


edit ,save

ctrl x

y

ctrl t

select file


undefined package

 > Illuminate\Foundation\ComposerScripts::postAutoloadDump >

 @php artisan package:discover --ansi 

In PackageManifest.php line 122: 

Undefined index: name


composer update

composer install

composer dump-autoload

The stream or file "/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

 The stream or file "/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied


rm -f storage/logs/laravel.log
cd storage/logs
touch laravel.log
cd ../../
sudo chmod -R 777 storage/logs
sudo chmod -R 777 storage/framework
sudo chmod -R 777 bootstrap/cache
php artisan optimize:clear
php artisan clear-compiled
php artisan cache:clear
php artisan view:clear
php artisan route:clear
rm -f storage/framework/sessions/*
sudo mkdir -p storage/mysql/data


config/app.php

'debug' => (bool) env('APP_DEBUG', true),

.env

APP_DEBUG=true
APP_LOG_LEVEL=debug






Hey Folks, It’s Worse Than We Thought — Claude’s Privacy Mess Just Got Bigger

  What started as a leak of shared Claude chats has turned into something much bigger — and much worse. The same thing is now happening with...