- 論壇徽章:
- 0
|
fastdfs 版本為v1.22,php版本為5.2.8
執(zhí)行這個時,php fastdfs_test.php報錯
錯誤信息為:Fatal error: Call to undefined function fastdfs_tracker_make_all_connections()
in /usr/local/src/FastDFS/php_client/fastdfs_test.php on line 6
我是按照README里面的說明配置的,編譯時并沒有錯誤。我把fastdfs_client.ini 文件放到php.ini所
在目錄,內(nèi)容如下:
extension = fastdfs_client.so
fastdfs_client.tracker_group_count = 1
fastdfs_client.tracker_group0 = /etc/fdfs/client.conf
/etc/fdfs/client.conf 內(nèi)容如下:
network_timeout=60
base_path=/FastDFS
tracker_server=10.0.1.49:22122
#standard log level as syslog, case insensitive, value list:
### emerg for emergency
### alert
### crit for critical
### error
### warn for warning
### notice
### info
### debug
log_level=info
#HTTP settings
http.tracker_server_port=80
#use #include directive to include HTTP other settiongs
#include http.conf
不知道是哪里有問題,請happy_fish100幫忙,不勝感激。
[ 本帖最后由 5d6d_andy 于 2009-10-28 09:04 編輯 ] |
|