Laravel Version 5.0.33
> php artisan tinker
[ErrorException]
mkdir(): Permission denied
This is on a production server, I was trying to test a command with tinker as the web user. This user owns every directory in the base path, so I'm not sure what directory is attempted to be created when I run artisan tinker.
Place .psysh.php in the root of a Laravel project with this content
<?php
return [
'runtimeDir' => './.psysh',
];
More info https://github.com/laravel/tinker/issues/34#issuecomment-357550126
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With