suPHP - have to CHMOD dirs/files

Discussion in 'General' started by MaddinXx, Jan 15, 2013.

  1. MaddinXx

    MaddinXx Member

    Hi there

    I recently switched from a Debian HW node to CentOS and migrated all the OpenVZ containers on there. Inside the container's I'm running ISPConfig.

    Since I had some permission problems inside the VEs, I double checked them. I found that several files are owned (were owned, I "fixed" it) by users/groups that to not exist (e.g. all php-fcgi-scripts etc).

    However, I'm now having the problem that for sites running under suPHP mode directories and files need to be chmoded (666/777) - but that should exactly not be the case when running suPHP, right?

    Also, running as Fasti-CGI brings: "No input file specified".

    May anyone bring me on the right path? ;) I guess it's a simple permissions problem.

    Error logs of apache itself and client vhosts don't seem to be helpful.

    Thanks a lot!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The fcgi startr scripts and also the web directories have to be owned by the web user and client group of the website. If you say that users and groups did not exist, then your passwd and group files of the vms are either corrupted or incomplete. You should check a backup that you made before you moved the vm and restore the files from there.

Share This Page