• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Please help, apache.apache user, doesn't give good right on file

S

stevenf

Guest
Hello

When my customer put in the past with php something, like create a image file or something else, the file have this right

bicho psacln 60029 déc 22 18:18 re-2004-08-30-16-29-38.jpg


bicho.psacln

now on all the server, files have

apache apache 31724 déc 20 18:25 re-2005-12-20-18-25-31.jpg

apache.apache

Please help me i've search on all .conf file and didn't find anything, does someone have encounter the problem before me ?

:(
 
Don't know off the top of my head but look for something called a "umask"
 
In the php - before you create a file use the command

Code:
umask(0033);

This will create all new files readable. WARNING: never have php write into an area that someone could access using a web browser - you are setting yourself up to be hacked.
 
thanks for your answer and thanks to help me , in fact my problem is that plesk have do the job to assign right user.group on created file in the past and now apply apache.apache, dunno why, and searching the solution.
 
Back
Top