PHP FPM, EasyApache 4 and custom local php.ini
-
@Eminds I have read and acted on both those threads and they have not helped me resolve this issue. There are no .yaml files present. 0 -
Hello @martin MHC, With answers given by @cPanelMichael but these answers are all now HTTP 404s -- the documents have gone.
I've updated the posts on that thread to reflect the updated tutorial we've published on this topic: Can you review this tutorial and let me know if it helps? Thank you.0 -
@cPanelMichael Many thanks for this; I never realised that custom PHP.ini account-level directives can be placed using the EA PHP.ini Manager on the Cpanel account rather than on WHM centrally (or via ftp manual file uploads). BUT: The editor states: The MultiPHP INI editor writes to the .htaccess, .user.ini, and php.ini files. The system will only write a directive to a file if it is a valid directive for that file type. For more information, read our So will the CPanel ini updates place changes in a .user.ini file or in an .account.ini file? Cheers 0 -
Hi @martin MHC, The procedure is different if you're using PHP-FPM. See this tutorial: In general, you should never manually add or edit a .ini file within an account's home directory. Instead, you should use the MultiPHP INI Editor options in cPanel or Web Host Manager if you want to modify the PHP settings. Or, if you use PHP-FPM, see the tutorial linked above. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments