We started using the MACOX system and set up the apache + php environment. When you use the unlink and fopen methods in the program to operate files, the system prompts that you do not have permission. When you use the command chmod-R755systemcache to set the file to be operated to-rwxr-xr-x, the system still prompts that access is denied. The correct way is to use the mac ox system and set up an apache + php environment. When you use the unlink and fopen methods in the program to operate files, the system prompts that you do not have permission. After the command chmod-R 755 system/cache is run to set the file to be operated to-rwxr-xr-x, the system still prompts that access is denied. What is the correct method?
----------------------
Using the command chmod-R 777 system/cache seems to have solved the problem...
Reply content:
At the beginning, the mac ox system was used to set up the apache + php environment. When you use the unlink and fopen methods in the program to operate files, the system prompts that you do not have permission. After the command chmod-R 755 system/cache is run to set the file to be operated to-rwxr-xr-x, the system still prompts that access is denied. What is the correct method?
----------------------
Using the command chmod-R 777 system/cache seems to have solved the problem...
Chown-R _ web./system/cachechmod-R 755./system/cache