SunHunter

Member
May 18, 2017
9
1
3
Europe
cPanel Access Level
Root Administrator
Hi, recently updated a big website to use PHP 7.4 (from 5.6 previously - yes it was a lot of work!) and enabled PHP-FPM. Previously, my site was running as the 'nobody' user with very restricted permissions but now I'm noticing PHP is running as a different user (account holder) who has different permissions, and possibly more than required by a visitor to the website. I just wondered if it's possible to change the PHP-FPM service to run under a different (original) user?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
It's a pretty big security risk to run as the nobody (apache) user - running as the cPanel user limits access to the user which is more restrictive than the nobody user.