PHP.ini Changes
changes should not be overwritten.
I found this thread when trying to discover how to prevent my php.ini changes be lost. Because i ran WHM IP Migration Wizard and it caused IP added two times in Virtualhost in httpd.conf (here i write about that) So i ran /scripts/rebuildhttpdconf and it fixed it, but then i discovered that cPanel commented out my /usr/local/lib/php.ini custom lines like: [PATH=/home/someuser/public_html] ;disable_functions = "show_source, system, passthru, shell_exec, popen, proc_open, allow_url_fopen, popen, mail" ;memory_limit = 128M
Where before i had them without ";" So it was some script in /scripts or it was rebuildhttpdconf script i think. Here How to Edit Your php.ini File - cPanel Knowledge Base - cPanel Documentation cPanel recommends how to edit php.ini: [LIST]
BUT when i edit something in PHP Configuration Editor and save then my custom values (like one i mentioned above) gets commented out in php.ini :-((
-
Hello, Could you verify if your system uses EasyApache 3, or EasyApache 4? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment