After modification in php.ini the below command solve my error. - Restart the web server (usually sudo service httpd restart)