wp-admin permissions

Discussion in 'ISPConfig 3 Priority Support' started by stst, Sep 25, 2021.

  1. stst

    stst Member HowtoForge Supporter

    Hi,

    I tried to enable wp-optimize plugin on a website but get an error, saying that wp cannot write to disk. I found out that the files are owned by webxx:clientyy but wp-admin tries to access with www-data:www-data.
    I checked on a different website (same ispconfig server), there wp-admin is correctly working as webxx:clientyy.
    Where do I specify which user/group wp-admin belongs to?

    thanks, Stefan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have either chosen the wrong php mode or you disabled suexec.

    Switch PHP mode to php-fpm in the website settings and ensure that the suexec checkbox is enabled.
     
  3. stst

    stst Member HowtoForge Supporter

    Hi,
    thanks, both was set, but disabling suexec and enabling again solved the problem.
     

Share This Page