Answered by : bouzid-ilyasse
//Create the .env file and also run :
php artisan key:generate
Source : | Last Update : Thu, 05 May 22
Answered by : prickly-pony-v7cx32jvmxn4
composer updcate
composer install
mv .env.example .env
php artisan cache:clear
composer dump-autoload
php artisan key:generate
Source : | Last Update : Thu, 02 Feb 23
Answered by : dev-pav
{"tags":[{"tag":"textarea","content":"If Vue\/Laravel project then run:\nnpm run watch \nphp artisan serve","code_language":"php"}]}
Source : | Last Update : Wed, 15 Feb 23
Answered by : technical-babar
RewriteRule ^ /index.php [L]
Source : https://stackoverflow.com/questions/68884478/laravel-unknown-error-after-deploy-to-life-server-500-internal-server-error | Last Update : Sat, 30 Apr 22
Answered by : technical-babar
RewriteRule ^ index.php [L]
Source : https://stackoverflow.com/questions/68884478/laravel-unknown-error-after-deploy-to-life-server-500-internal-server-error | Last Update : Sat, 30 Apr 22
Answered by : akbarali
{"tags":[{"tag":"textarea","content":"\/\/Chmod 777 to \n\/config #and \n\/storage\/framework","code_language":"php"}]}
Source : | Last Update : Sat, 18 Feb 23
Answered by : you
// Example code to read and dump Laravel log file
$logFile = storage_path('logs/laravel.log');
$logContents = file_get_contents($logFile);
echo $logContents;
Source : | Last Update : Tue, 19 Sep 23
Answered by : you
$logFile = storage_path('logs/laravel.log');
$logContent = file_get_contents($logFile);
// Extract the last few lines from the log
$logLines = explode("\n", $logContent);
$logLines = array_slice($logLines, -15); // Adjust the number of lines as needed
// Output the log lines
foreach ($logLines as $line) { echo $line . "<br>";
}
Source : | Last Update : Tue, 19 Sep 23
Answered by : samandar-abduraxmonov
sudo chmod -R 755 laravel_blog
Source : | Last Update : Fri, 01 Dec 23