how you doing guys? i hope you have great day,im trying to configure nginx,on ubuntu 22.04 server microsoft azure,and to after host simple htlm website on same,but i am facing issue with installation of composer, somehow manage to even go trough error of needing php.7.2 and download it from archive base,but i dont know where exactly to search next to fix this problem with composer install
composer install
PHP Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /usr/share/php/Composer/IO/BaseIO.php on line 163
Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE) in /usr/share/php/Composer/IO/BaseIO.php on line 163,i fixed previous php problem with
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
i tried manualy to fix strings,but this is my first exercise and i dont have knowledge in programing lenguages,and every time i try to fix file,stays some missing ‘;’,or something else,do is here any other way to solve this problem? i tried to find solution on google,but i ended up making new VM on microsoft azure.I am following this tutorial https://github.com/eckmar-community/eckmar/blob/master/INSTALLATION.md steps
thanks!
alex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.