Laravel 5.3-清除共享主机中的配置缓存 [英] Laravel 5.3 - Clear config cache in shared hosting

查看:60
本文介绍了Laravel 5.3-清除共享主机中的配置缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我正在从事一个小型项目,该项目要求我在共享托管上托管laravel应用程序(请忽略为什么我不使用VPS托管laravel项目的原因),并且此托管服务提供商出于安全考虑禁用了escapeshellarg()原因,所以我无法使用php artisan config:cache清除配置缓存.

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.

有什么解决方法吗?

推荐答案

config:clear命令仅删除bootstrap/cache/config.php文件,因此只需手动删除该文件.

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

这篇关于Laravel 5.3-清除共享主机中的配置缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆