View Single Post
  #2  
Old 7th June 2012, 11:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

ISPConfig has a better mode then suphp which was not available in ispconfig 2 which also allows your sites to run under different users but its much faster. The recommended php mode in ispconfig 3 is:

Suexec: On
PHP mode: fast-cgi

If you prefer to use the slower suphp kode, then you should first check under which user php is really run. You can do that with a script like this:

<?php
touch('test.txt');
?>

upload it to a website directory and open it in a browser. You will either get a error message that the file test.php could not be written to the directory were the php file is, this indicates that suphp is really not working. If you dont get a error message, then a test.txt file must have been created in the same directory, check on the shell or with a ftp client which user owns this file, is it www-data or is it the user of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote