📜  mkdir 权限被拒绝 php 代码示例

📅  最后修改于: 2022-03-11 14:54:26.942000             🧑  作者: Mango

代码示例1
/*
Here's what you do in Ubuntu
1. Make sure all files are owned by the Apache group and user. In Ubuntu it is the www-data group and user
2. sudo chown -R www-data:www-data /path/to/webserver/www
3. Next enabled all members of the www-data group to read and write files
4. sudo chmod -R g+rw /path/to/webserver/www

The php mkdir() function should now work without returning errors