Cannot install plugin in wordpress + could not create directory

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…

  1. Make sure the directory and all files are CHOWN to the good user
  2. You should also add this in your wp-config
    define(‘FS_METHOD’, ‘direct’);