FastDFS is installed in Ubuntu. for the general installation steps of the Php client, refer to: FastDFS distributed file server installation, configuration, and test tips. if you are not required, don't install it in ubuntu. Depends on a lot. Add the ubu FastDFS installation in Ubuntu and the Php client.
For general installation steps, refer:
FastDFS distributed file server installation, configuration, test tips, FastDFS server, if you do not have to, do not install it in ubuntu. Depends on a lot. In addition, ubuntu download version 12 has some changes.
?
Install the php client
#1 first compile the fastdfs installation file
Because the php client is associated with the installation file, if the client is directly compiled, an error is reported and some cpp files cannot be found.
#2 install libevent
Download and install it on your own
#3 compile and install the php client (prompt: the server must be compiled first, that is, #1)
Go to the phpclient Directory
#4 configure and test whether the client is successfully installed
?
?