1 2 3 4 5 |
composer dump-autoload php artisan clear-compiled php artisan config:cache php artisan route:cache php artisan optimize --force |
執行會有可能會碰上「the process class relies on proc_open which is not available on your php installation」這問題
關閉後即可正常執行。
參考來源:
http://stackoverflow.com/questions/22671920/proc-open-error-when-try-to-run-artisan-dump-autoload
http://stackoverflow.com/questions/19911737/laravel4-composer-install-got-proc-open-not-available-error