• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP permissions over files - N00b ?

S

scibase

Guest
I am having problems with PHP scripts that seek to upload, modify existing and create new files.

My Apache seems to be running under the user Apache. So PHP under the user Apache will try to create files and directories on files owned by my FTP user, and the only way this can be done is for everything to be 777.

Is there any way I can make this easier by changing the server config?

My big problem is in trying to run a CMS script that I bought and I cannot do so properly because of this permissions problem. The php.ini file looks ok.

Any help gratefully received! Thanks
 
Back
Top