Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

razikallayi's avatar

php artisan not responding after upgrading laravel 5.1 to 5.2

php artisan not responding after upgrading laravel 5.1 to 5.2.

I followed the upgrade guide here https://laravel.com/docs/5.2/upgrade

Even composer update gives an error at

Generating autoload files

php artisan clear-compiled Could not open input file: artisan Script php artisan clear-compiled handling the post-update-cmd event returned with an error

[RuntimeException] Error Output: What might be the problem?

0 likes
4 replies
kfirba's avatar

@razikallayi hey

It seems to me that you have forgotten to remove the AppServiceProvider and the ControllersServiceProvider from the config/app.php file.

Anyways, try running php artisan -vvv and post here the stack trace

razikallayi's avatar

@kfirba I have already removed both.

php artisan -vv

This code is not giving any response and that is my problem. Actually when typing php artisan, the terminal just showing next line

$ php artisan
$ php artisan -vv
$

This is how it behaves

longestdrive's avatar

did you manage to resolve as I'm having similar upgrade issues

thanks

ejdelmonico's avatar

post your composer.json file so we can see what is in the "scripts" section.

Please or to participate in this conversation.