php7-procps扩展 安装(Ubuntu 16.04) 先决条件 # install packages sudo apt install make bc g++ php-dev procps libprocps4 libprocps4-dev # install PHP-CPP git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP.git cd PHP-CPP make sudo make install cd .. rm -rf PHP-CPP 下载,安装和测试此扩展程序。 git clone https://github.com/ringostarr80/php7-procps.git cd php7-procps make sudo make install sudo ln -s /etc/php/7.