1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP issue with Plesk.

Discussion in 'Plesk for Linux - 8.x and Older' started by ban520, May 6, 2005.

  1. ban520

    ban520 Guest

    0
     
    The client uploads some php programs and directories using his ftp user,
    e.g. "customer1@mydomain.com". All the files and directories then have the
    permissions of

    -Rwxr-r-x customer1 pscacln ..

    So the owner is customer1 and the group pscacln.

    Now when the php program runs, which say tries to upload a file into a
    directory of the customer, it fails as the php program will be running as
    user "apache" group "apache".

    Apache has no permissions in a bog standard server setup to modify or
    create any files.

    i.e. useless.

    Suggestion for fixing this? Everyone must have this problem,
    as I have had it with every version starTing with plesk 6.
    The issue means that noone can use any scripting languages to write or
    updated local files, and also modify them with their ftp user.

    Thanks.
     
  2. defencer

    defencer Guest

    0
     
    One not very good solution is changing file directory mode to 777, so apache process can create files inside this directory. Not very good because in this case any users in systems can create files in a such directories.
     
Loading...