基础
1 | service iptables off |
httpd服务器:192.168.122.111
1 | tar xvjf apr-1.5.1.tar.bz2 |
php服务器:192.168.122.104
1 | wget -c http://cn2.php.net/distributions/php-5.6.12.tar.bz2 |
如果出现:
PEAR package PHP_Archive not installed: generated phar will require PHP’s phar extension be enabled.
wget http://pear.php.net/go-pear.phar
/usr/local/php/bin/php go-pear.phar