busybox=/usr/local/bin/busybox
wget -q https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-x86_64 -O ${busybox}&&chmod a+x ${busybox}||exit 1
yum -y install gcc make php-devel
wget https://github.com/liexusong/php-beast/archive/master.zip
busybox unzip master.zip
cd php-beast-master
phpize
./configure
make
make install
echo "extension=beast" >/etc/php.d/20-beast.ini
沒有留言:
張貼留言