Hi

I am geting the following error immediately after installing the app in a webfolder and configuring the app.php and .env file and setting out the persmissions.

I am using Lanpp on ubuntu.

This happens immediately on trying to open the app in the browser.

Error is get is :


Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /opt/lampp/htdocs/app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 476

The app does not check and I do not know how to check whether the following requirements are there:

? OpenSSL PHP Extension
? Mbstring PHP Extension
? Tokenizer PHP Extension
? Module Re_write server
? PHP_CURL Module Enable

Is the error related to any of the above?
If yes, then how to check whether these are available or not.

I have spent 8 hours trying to figure out this.

Thanks in advance.

Best regards

CJ Singh