Disable PrivateTmp for php-fpm on all accounts?
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:
Thanks
PrivateTmp=trueThanks
-
@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 -
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.
Comments
2 comments