Another suphp/suexec question

Discussion in 'General' started by Mathew, Oct 22, 2009.

  1. Mathew

    Mathew New Member

    With SuEXEC turned on, and PHP5 module set to Mod-PHP, I have something strange.

    My php/flash photogallery makes new folders with permissions www-data while it should be web18:client7 (website user/group)

    drwxrwxrwx 2 www-data www-data 4096 2009-10-22 02:00 FolderWithWrongPerms
    Where do I have to fix this? I tried different permission settings, but hmm, I'm a bit confused.

    Further, I tested this setting (SuEXEC & Mod-PHP) with a php-shell. Is it possible to disable reading config.php files trough php-shells?
    It's pretty much secured (can't execute commands, can't "escape" out the website folder, ...) but I can still read those config files trough it.

    Thanks in advance,
    keep up the good work.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not use mod_php and suexec together. Suexec affects only cgi-php and fcgi-php.

Share This Page