官方地址
//提示缺少libcurl扩展时候安装
yum install libcurl-devel
//安装完zan.so php -m提示PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zan.so‘ - /usr/lib64/php/modules/zan.so: undefined symbol: php_sockets_le_socket in Unknown on line 0
编辑php.ini
extension=sockets.so
extension=zan.so
(Centos在/etc/php.d/下)
删除sockets.ini
//安装zan框架后,查看cat README.md根据提示修改php.ini
zanphp.RUN_MODE = testzanphp.DEBUG = true
// 最后
php bin/httpd启动项目完成安装
时间: 2024-11-14 12:47:32