Permissions Issues for PHP-Forum and FTP user

Discussion in 'General' started by Corrupter, May 29, 2008.

  1. Corrupter

    Corrupter New Member

    Hey guys, it seems i may have missed something somewhere that is causing my forum not to have permissions to make new folders and when i log in manually as ftp it wont allow me to manipulate certain folders, delete certain files and chmod things above what they already are. I've configured ISP to the letter and all other dependencies are in and working flawlessly. I'm not sure if i am leaving something out but if you need more information just ask.

    Thanks in advance.
    Corrupter
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is a common problem:

    The files that you upload via FTP are owned by the administrator of the website. PHP runs under the user of the apache server. So you can not chown files created by a php script and on the other hand the php script can not cahnge files or folders that have been uploaded by ftp.

    The solution is that the php files have to be run under the web admin user. This can be achieved with e.g. suphp:

    http://www.howtoforge.com/install-s...tions-for-use-with-ispconfig-2.2.20-and-above
     

Share This Page