Skip to content
Advertisement

Laravel 5.3 – Clear config cache in shared hosting

Currently I’m working on small project that require me to host my laravel app on shared hosting (please ignore the reason why I didn’t use VPS to host my laravel project) and this hosting provider disable escapeshellarg() for security reason so I can’t use php artisan config:cache to clear config cache.

Is there any workaround for this?

Advertisement

Answer

config:clear command just deletes bootstrap/cache/config.php file, so just delete this file manually.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement