Running a CentOS Server with Webmin and Virtualmin,
# could not create directory
In Virtualmin select the domain name that have a problem and go change the Enable safe mode in /Virtualmin/Services/PHP Configuration
Disable safe mode!
Also there is other stuff to look for…
- Make sure the directory and all files are CHOWN to the good user
- You should also add this in your wp-config