PHP mkdir() Permission denied problem solved
Make sure all files are owned by the Apache group and user. In Ubuntu it is the www-data group and user. - chown -R www-data:www-data /path/to/webserver/www Next enabled all members of the www-data group to read and write files. - chmod -R g+rw /path/to/webserver/www