如何安装php-beast

编译安装如下:

wget https://github.com/liexusong/php-beast/archive/master.zip
unzip master.zip
cd php-beast-master
phpize
./configure
sudo make && make install

编译好之后修改php.ini配置文件, 加入配置项: extension=beast.so, nginx重启php-fpm,如果是apache需重启httpd。

使用php-beast的性能:

使用php-beast的性能

不使用php-beast的性能:

不使用php-beast的性能:

通过测试环境:

官方测试通过 Nginx + Fastcgi + (PHP-5.2.x ~ PHP-7.1.x),本人测试通过 Apache + (PHP-5.2.x ~ PHP-7.4.x)

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注