Skip to main content

Disable PrivateTmp for php-fpm on all accounts?

Comments

2 comments

  • SS-Maddy
    @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.
    0
  • cPanelLauren
    Hello, You should be able to add anything you would add to /usr/lib/systemd/system/ea-phpXX-php-fpm.service in a .conf file. The instructions on modifying Apache php-fpm are Here: Configurations Values of PHP-FPM - Version 68 Documentation - cPanel Documentation
    0

Please sign in to leave a comment.