facebookarchive / fbctf

Platform to host Capture the Flag competitions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with composer

cyb3r5t4lk3r opened this issue · comments

Please include the following information when filing an issue
• Current version of FBCTF installed (commit head)
• System and Installation details, such as the Linux distribution used, and installation method you chose.
Ubuntu Desktop 18.04.03
• Detailed description of the problem. Include steps to reproduce the problem when possible.
user@server:/usr/share/juice-shop_8.7.2/fbctf$ curl -sS https://getcomposer.org/installer | php
Fatal error: Uncaught Error: An expression is expected here. in /tmp/php-wrap-Qpjzvh:204
Stack trace:
#0 {main}
• Screenshots to help describe the problem when appropriate.
• Relevant output from any logs examined.
• Any steps you have taken to resolve the issue.
Complete step-by-step list
sudo apt-get update
sudo apt-get install git
git clone https://github.com/facebook/fbctf
cd fbctf
./extra/provision.sh -m prod -s $PWD
If problem with package
sudo apt-get update
sudo apt-get install -y curl software-properties-common apt-transport-https
curl https://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
sudo apt-key finger 'opensource+hhvm@fb.com'
sudo add-apt-repository https://dl.hhvm.com/ubuntu
sudo apt update
sudo apt install hhvm
./extra/provision.sh -m prod -s $PWD

I resolve the problem installation on Ubuntu 16.04