web user?

Discussion in 'Installation/Configuration' started by 0plus1, Oct 13, 2008.

  1. 0plus1

    0plus1 New Member

    Hi and sorry if maybe this question was already answered, i searched but i found nothing.

    I see that the ftp username is: web1_username:web1 and that works, sadly i have a php script that gives me an error regarding permission even if all the files and folder it needs to write to are 777 and chowned web1_username:web1.

    So i'm wondering if php runs as a different user and thus cannot write the files. Or simply i have an error somewhere else.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If a folder has 777 permission, any user can write to it. If your script still does not write to the folder, then there must be another problem in the script. You should double check that you write to the correct folder.
  3. 0plus1

    0plus1 New Member

    that's right, seeing that the path is correct (i used: print $_SERVER['SCRIPT_FILENAME']; to double check) i'm starting to think that maybe the script cannot access the folder: the path is:

    /var/www/web1/web/album (the script: gallery2)
    /var/www/web1/g2data (the folder the script needs to access)

    Is it possible that ISPconfig does not allow this?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to disable the php safemode checkbox. Many scripts do not support safemode correctly.

Share This Page