happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.98k stars 1.98k forks source link

php 56 和 php 72 安装扩展后启动报错 get param fastdfs_client.tracker_group fail! #394

Open zhangxinlun opened 4 years ago

zhangxinlun commented 4 years ago

service php-fpm restart

Starting php-fpm file: /home/soft/fastdfs/php_client/fastdfs_client.c, line: 7543, fastdfs_client.ini does not have item "fastdfs_client.base_path", set to /tmp!file: /home/soft/fastdfs/php_client/fastdfs_client.c, line: 7658, fastdfs_client.ini: get param fastdfs_client.tracker_group fail!

[19-Mar-2020 16:36:40] NOTICE: PHP message: PHP Fatal error: Unable to start fastdfs_client module in Unknown on line 0

zhangxinlun commented 4 years ago

找到原因了 cat fastdfs_client.ini >> /usr/local/php56/lib/php.ini 少了这一步