1. 查看 php.ini 中 open_basedir 设置,注意local变参数覆盖全局参数 2. 检查是否存在目录读写权限问题。Server版本一般需要查看USER组的权限。 3. 版本5.3 以下参看 https://bugs.php.net/bug.php?id=43817