3. tar xf mcrypt-1.0.1.tgz4.cd mcrypt-1.0.1 6. ./configure --with-php-config=/usr/local/php/bin/php-config && make && make install #你PHP安装的对应目录 文章导航 linux 查看PHP,mysql,apache安装目录通过Yum在CentOS / RHEL 6.9和7.4上的PHP 7.1