获取源代码
git clone https://github.com/EOSEssentials/EOSTracker-API.git
开始编译
cd EOSTracker-API
composer install
开始运行
php bin/console server:run
常见问题
- ubuntu add-apt-repository command not found解决方法
apt-get install software-properties-common
- Ubuntu PHP升级到最新版本
add-apt-repository ppa:ondrej/php
apt-get update
apt-get upgrade php
- The requested PHP extension ext-apcu * is missing from your system. Install or enable PHP's apcu extension
apt-get install php7.2-apcu //修改为当前版本 php -v
- The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension
apt-get install php7.2-intl //修改为当前版本 php -v
- The requested PHP extension ext-mbstring * is missing from your system. Install or enable PHP's mbstring extension
apt-get install php7.2-mbstring //修改为本地版本 php -v
- The requested PHP extension ext-redis * is missing from your system. Install or enable PHP's redis extension
apt-get install php7.2-redis //修改为本地版本 php -v
- Installation request for symfony/symfony v3.4.11 -> satisfiable by symfony/symfony[v3.4.11].
symfony/symfony v3.4.11 requires ext-xml * -> the requested PHP extension xml is missing from your system. apt-get install php7.2-xml //修改为本地版本 PHP -v