A
ambrit
Guest
Hi - this might be a really simple answer (mine usually seem to be)
I am trying to get a PHP form working in a website that is hosted on Plesk. The PHP form writes to a CSV file which is located inside the website folder (within httpdocs). If I give everyone full access to the CSV file (chmod 777) then the script runs fine, but I want to only give user and group access (without breaking Plesk).
Does anyone know which user a PHP script would normally run under with Plesk? I have looked in a few places and I thought it was either "nobody" or "wwwrun" but even when I give either of those users Root access or put them in the correct group the PHP still doesn't work, it only starts working when I set full access to anyone in Linux. So that makes me think I am have not found the correct user.
Does anyone know the answer to this? I am running Suse Enterprise Linux 10 if that helps...
thanks in advance
I am trying to get a PHP form working in a website that is hosted on Plesk. The PHP form writes to a CSV file which is located inside the website folder (within httpdocs). If I give everyone full access to the CSV file (chmod 777) then the script runs fine, but I want to only give user and group access (without breaking Plesk).
Does anyone know which user a PHP script would normally run under with Plesk? I have looked in a few places and I thought it was either "nobody" or "wwwrun" but even when I give either of those users Root access or put them in the correct group the PHP still doesn't work, it only starts working when I set full access to anyone in Linux. So that makes me think I am have not found the correct user.
Does anyone know the answer to this? I am running Suse Enterprise Linux 10 if that helps...
thanks in advance