• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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