Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disable PrivateTmp for php-fpm on all accounts?

Discussion in 'General Discussion' started by xfactor5, Jun 30, 2018.

  1. xfactor5

    xfactor5 Member

    Joined:
    Nov 1, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    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
     
  2. SS-Maddy

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    101
    Likes Received:
    6
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,814
    Likes Received:
    133
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice