php扩展安装说明
tar zxvf FastDFS_4.06.tar.gz 解压FastDFS
cd FastDFS
./make.sh 编译
./make.sh install 安装
cd client
make; make install 编译安装
/usr/local/php/bin/phpize php安装扩展
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
cd /etc/fdfs/
vi client.conf
tracker_server=192.168.133.171:22122 //根据环境填写IP地址及端口号
cd /root/FastDFS/php_client/
cat fastdfs_client.ini >> /usr/local/php/etc/php.ini 将fastdfs_client.ini内容追加到php.ini里面
重启服务器