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. Thanks
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.
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?