Disable PrivateTmp for php-fpm on all accounts?

xfactor5

Member
Nov 1, 2013
13
0
1
cPanel Access Level
Website Owner
Hi,
I read all the topics about cPanel PHP-fpm config but all were very confusing, I want to disable this specific value in PHP-fpm settings, I found the service file and there was a comment on it that said I should not edit this file and go to WHM interface! and there was nothing there to edit.
I also read the official documentation but I don't see and yaml file to edit.
And if I make the file, how to I translate this into the yaml file:

Code:
PrivateTmp=true
Thanks
 

SS-Maddy

Well-Known Member
Mar 28, 2009
130
18
68
cPanel Access Level
Root Administrator
@xfactor5 ,

May be I am not understanding your question, I checked the service file /etc/systemd/system/cpanel_php_fpm.service and I dont see any comment there not to edit the file. I haven't added, but I believe, you can edit the file to add the PrivateTmp=true , though there is every chance that a cPanel update will overwrite.

/me is also looking for an official answer here.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,285
313
Houston