首页 > 其他 > 详细

安装FastDFS

时间:2019-01-21 18:29:43      阅读:181      评论:0      收藏:0      [点我收藏+]

https://www.cnblogs.com/chiangchou/p/fastdfs.html#_label1_1

 

 

在安装完fastdfs文件系统之后,

1. 切换到fastdfs的源码解压目录:
/run/fast/fastdfs-5.05/php_client
1) 先初始化: /usr/bin/phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525

2) 编译文件  ./configure --with-php-config=/usr/bin/php-config
...
Build complete.
Don`t forget to run ‘make test‘.

3) 安装
make && make install

2. 在php的配置文件添加fastdfs_client.ini信息
 cat /run/fast/fastdfs-5/php_client/fastdfs_client.ini >> /etc/php.ini

3. 重新启动nginx以及php-fpm,fdfs_trackerd 和 fdfs_storaged

可以使用php -m 进行查看fastdfs_client 扩展是否安装上
---------------------
作者:Linux_newbie_rookie
来源:CSDN
原文:https://blog.csdn.net/linux_newbie_rookie/article/details/79061886
版权声明:本文为博主原创文章,转载请附上博文链接!

安装FastDFS

原文:https://www.cnblogs.com/vinzen/p/10300046.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!