appstract / laravel-opcache

Laravel Package for OPcache
MIT License
1.33k stars 118 forks source link

Error 505 (Requested URL returned error) #101

Closed ottosmops closed 4 years ago

ottosmops commented 4 years ago

Since today I get this error:

php artisan opcache:compile --force
Compiling scripts...
The requested URL returned error: 500 Internal Server Error
Url: https://myurl/opcache-api/compile?key=akey...&force=1

How can I solve this?

repat commented 4 years ago

Look at what the 500 error is, possibly because the URL can't be found. It should be 127.0.0.1, you can try hardcoding it in /etc/hosts

ottosmops commented 4 years ago

Thank you! Sorry, it simply was a syntax error in an unused file. I dont know why this led to this error right now, because the syntax bug was there for a while.