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

what's the trick to be allowed to write to files?

Discussion in 'Plesk for Linux - 8.x and Older' started by k.satirli, Aug 24, 2005.

  1. k.satirli

    k.satirli Guest

    I've written a php script that writes to files.

    this script is running on a subdomain and for the sake of it I can NOT find out how to get the script to actually write to the file.

    this script runs fine on my localhost and another server, but it just doesnt want to run on the plesk server :-S

    preparing to write content to file...
    could NOT open _vcards/1124926859_First_Last.vcf

    I dont have any clue as to what I'm doing wrong. the script works fine everywhere else. I've even chmodded 755 and 777 (later on) "_vcards"

    is it the ownership I need to change? does it have to be nobody:nobody ?

    suggestions are VERY welcome.
  2. k.satirli

    k.satirli Guest


    I just restarted apache and voila - it works :D