-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Permission denied" on Log via CLI and Apache Deamon might be frequent #46
Comments
+1 |
Done. |
This was referenced Dec 7, 2016
joelharkes
pushed a commit
to joelharkes/framework_old
that referenced
this issue
Mar 7, 2019
…n-endpoints Organization endpoints
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are running your php cli as a user different than apache, you'll get frequent permission denied errors and lately this was driving me crazy every time I used migration:rollback. I was having to delete migrations rows and/or drop tables to correct the migrations state.
I just added in (global.php) the php SAPI name to solve it in my end:
Log::useDailyFiles(__DIR__.'/../storage/logs/log-'.php_sapi_name().'.txt');
But it could be a better way to do that with Monolog...
The text was updated successfully, but these errors were encountered: