You create a custom php.ini file and upload to public_html folder but custom settings do not have an effect on subfolders.
You need to copy php.ini to each subfolder to activate the custom setting.
There is an easy way to get around this issue, add one line in the .htaccess file with content
SetEnv PHPRC /home/cpanel-username/public_html/php.ini
This will configure php scripts on your website to use php.ini in public_html folder.
Support-Agent
Comments
Steffie