Apache uid/gid

Discussion in 'General' started by slackarea, Oct 19, 2010.

  1. slackarea

    slackarea New Member HowtoForge Supporter

    [SOLVED] Apache uid/gid

    Hy,

    i've one server with ispconfig 3.0.2.2 and apache process start with uid/gid of user. (Debian Lenny)

    Code:
    web9 32218  0.0  0.8  27844  8296 ?        S    05:50   0:00 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web9/...
    web5 32370  0.0  1.0  29360 10744 ?        S    05:58   0:01 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web5/...
    web13 32559  0.0  1.1  32132 12224 ?        S    06:08   0:00 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web13/...

    Now i've installed ispconfig 3.0.3 in a new server and i've seen that all apache's process run with www-data uid/gid. (Debian Lenny)

    Code:
    www-data 32218  0.0  0.8  27844  8296 ?        S    05:50   0:00 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web9/...
    www-data 32370  0.0  1.0  29360 10744 ?        S    05:58   0:01 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web5/...
    www-data 32559  0.0  1.1  32132 12224 ?        S    06:08   0:00 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client0/web13/...
    Is it normal?

    In the first server I upgraded the version of ISPConfig and uid / gid of the processes have not changed.
    Why the difference?

    Thank you very much for your work
     
    Last edited: Oct 19, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Enable suexec checkbox in the website settings of every website that you want to run under the web user and not apache.
     
  3. slackarea

    slackarea New Member HowtoForge Supporter

    SOLVED!!!

    Thank you so much!
     

Share This Page