If you update PHP.ini on a CloudLinux server with CageFS, just restarting Apache will not apply the new PHP.ini to hosted sites.
You must update the CageFS Skeleton with the new php.ini settings by running:
# cagefsctl --update
Then restart the Apache server.