Hello all, I'm running php5 on a xampp server and I'm getting a permission denied error when I try to use mkdir(). For example, if the script using mkdir() is in /opt/lammp/htdocs/mainFolder/callingFolder
And the location it's attempting to create a new directory is:
/opt/lammp/htdocs/mainFolder/secFolder/thirdFolder
and lampp, callingFolder, mainFolder, htdocs, secFolder, and thirdFolder all have ownerships set to www-data with create/delete privileges. Do I need to set opt to be owned by www-data? that seems wrong, but what else?
Bookmarks