Support » Installing WordPress » Many different wordpresses in one host

  • Hi dear wordpress community!
    I have many wordpresses installed in one host.
    I use virtual dedicated server with plesk manager.
    One wordpress installed in root directory of my plesk user.
    httpdocs/all wordpress files.
    Other wordpresses installed sub-directory httpdocs/d/wordpress2
    httpdocs/d/wordpress3
    httpdocs/d/wordpress4 and etc.
    On wordpresses installed in sub-directory i get issue with theme installation.
    When i trying to install new themes threw wp-admin, i get form to fill ftp server credentials – i don’t get such request on my root site.
    After form submiting i get this error:

    Downloading install package from http://wordpress.org/extend/themes/download/luxury.1.0.1.zip…

    Unpacking the package…

    Could not create directory. /httpdocs/d/mywordpress/wp-content/upgrade/luxury.tmp

    I think that is .htaccess or php.ini or plesk setting issue but i don’t know what exactly cause the issue.
    Any suggestions will be welcomed:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Others may have had better luck fixing this than I have (at past web hosts), but this is a File Permissions problem. Or, more accurately, the Linux user ID that WordPress is using does not have sufficient File Permissions to create new directories, etc.

    To solve the problem on my current “roll your own software stack” VPS using Ubuntu, I changed the ownership of all WordPress files to user ID www-data and haven’t had any problems, other than when I FTP using root.

    Thread Starter Dmitry O

    (@dmitry-o)

    Thank you very much. Your solution works smoothly.
    I found one strange issue, it doesn’t bugs my sites anyway but i am curios to find why it’s happening. Firstly i changed all my files and directories to root ownership and attached them to root group. It did’t fix the issue.
    But when i changed everything back to previous user and group stack, granted full admin rights to this user threw Plesk interface that fix the issue.
    Maybe you know why root not working as expected?

    Why doesn’t root ownership work?

    Because WordPress is not running as root.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Many different wordpresses in one host’ is closed to new replies.