These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Enable php to create directories in sub-server that being created by API virtualmin on the new forum.
Howdy,
By default PHP should indeed be able to create directories, as it runs as the Virtual Server owner.
Do you know if the PHP Execution Mode was perhaps changed to mod_php?
If it's been changed to mod_php (the default is FCGID), that would indeed cause that problem, as mod_php runs as the Apache user, rather than the Virtual Server owner.
-Eric