• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

PHP running under www-data

N

Nerion@

Guest
Hello,

I think it was before updating Plesk to Version 8.3.0

If I created a file with PHP5 the file was created with the ftp-user and group: psaserv.

Today I see that all files created by user with php have user: www-data and group: www-data.

How could I fix this.
It don't want to install suPHP because it worked before updating Plesk oder something else.

Any ideas?

Thank you
 
Plesk never had suPHP functionnality, however such feature request were created. PHP pages with Plesk were always served by Apache webserver. Probably you had suPHP installed before and upon the upgrade the configuration was rewritten.
 
No suPHP wasn't installed.

Is there no way to fix this?

PHP only have to look which user is the holder of this folder (for example /var/www/vhosts/domain.com/httpdocs/ and give the file the same rights.

Any ideas?

Thank you
 
hi Monica, are you from Parallels ?
or how can you say "...such feature request were created" ?
 
@Nerion

ftp creates files with the right file owner and user group.

if you create files with php they will allways have www-data as user and group if you not use suphp
 
Back
Top