Add temporary fixes to using php artisan serve.

Signed-off-by: crynobone <crynobone@gmail.com>