The config:cache
and the cache:clear
don't refer to the same cache.
If you run php artisan config:cache --help
shows the following description:
Description: Create a cache file for faster configuration loading
Running php artisan cache:clear --help
shows the following description:
Description: Flush the application cache
And there's also another command: config:clear
which
Description: Remove the configuration cache file
So... cache:clear
only clears the application cache while config:clear
will remove the cache file created by config:cache
. Also you may try running config:cache
whith admin privileges.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…