Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed ISPConfig 3 on an Ubuntu VPS and configured it for Apache + PHP via FastCGI and suexec. I am able to upload PHP apps (e.g. Wordpress) and run them normally w/ suexec.

However, for some reason the PHP scripts cannot write data to disk. For instance, trying to upgrade a plugin via Wordpress' web interface causes it to fail with the error "Could not create directory /path/to/wp-content/upgrade/plugin.tmp."

Trying to upload media and other assets also fails via the web.

I've checked owner/group on the directory structure and it looks good. The suExec log also seems to be normal and I don't see any indicative errors in the web server logs.

I can also confirm that changing the owner/group on the directories does result in the expected error in suexec.log.

Additionally, I have the directory permissions set to u=rw,g=r,o= and I've also tried setting g=rw.

None of this results in my scripts being able to write to the directories. What am I doing wrong?

share|improve this question
up vote 0 down vote accepted

I figured out the problem.

Turns out, ISPConfig sets a disk quota based on the configuration parameters specified for each user/client account. I had been manually migrating content over from another server, which had several large files contained within the user's directory, thus putting them over quota.

I deleted those files, brought the used space back under-quota, and everything started working perfectly.

FYI, Webmin turned out to be a marvelous tool for solving this ;-)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.