install laravel before setting paths and restarting apache