http://blog.csdn.net/rcfalcon/article/details/6316150 此外,要注意目錄權限: chown daemon XXX -R (上級目錄的權限也要給) daemon是啟動apache的user