HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   suPHP - have to CHMOD dirs/files (http://www.howtoforge.com/forums/showthread.php?t=60230)

MaddinXx 15th January 2013 21:26

suPHP - have to CHMOD dirs/files
 
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!
MaddinXx

till 16th January 2013 10:34

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.


All times are GMT +2. The time now is 06:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.