centos下file_put_contents()无法写入文件的原因是没有文件夹权限
直接修改目标文件夹/文件
# chmod 777 文件夹名称
上一篇:怎么在PHP中对file_put_contents进行追加和换行
下一篇:怎么在php中使用file_get_contents获取文件中的数组元素