Question
Where is the php.ini file located that adjusts the values of the cPanel web applications such as phppgadmin, phpmyadmin, Roundcube, or Horde?
Answer
At this time, cPanel utilizes PHP 8.1 and places the ini file in/usr/local/cpanel/3rdparty/etc/php.ini
as a symlink to /usr/local/cpanel/3rdparty/php/81/etc/php.ini
You can easily edit this file by modifying /usr/local/cpanel/3rdparty/etc/php.ini
with your favorite editor.
Finally, once those modifications have been made and the file has been saved, we need to install the php.ini file. To do this, we need to run the cPanel script install_php_inis:
/usr/local/cpanel/bin/install_php_inis
Comments
0 comments
Article is closed for comments.