3
votes

laravel on xampp this error

Parse error: syntax error, unexpected '?' in /Applications/XAMPP/xamppfiles/htdocs/wedservice/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233

php artisan serve is perfectly working (Mac)???

1
Your question needs clarificationPrince Lionel N'zi
Which version of Laravel and php do you have?Brotzka
Possible duplicate of this question or thisBrotzka
You don't need to put your laravel project inside htdocs folder. Just put your project anywhere else and run php artisan serve and then open localhost:8000 in browserShubham Pokhriyal
Ya , localhost:8000 is working ,by the way xampp also should work but that server got error unexpected '?' in /Applications/XAMPP/xamppfiles/htdocs/wedservice/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233kobi

1 Answers

1
votes

may be permission issues .. 1)give permission to all files and folder or 2)uninstall and re-install Xampp.give all rights