Issue
Wrote info.php file with phpinfo function And their i found php.ini file path in /etc/php5/apache2/php.ini
. Opened php.ini file and changed memory_limit from 256M to 512M.Using shell command called 'service apache2 restart' apache was restarted.
And again executed info.php. But it is showing the same 256M. memory_limit not updated with 512 M. Working on Apache/2.2.16 (Debian).
Tried a lot and lot. Restarted, reloaded apache2 in hundreds of times. But no change.
Please can anyone can help me.
Thanks in advance.
Solution
Please check the path of php.ini from where the file is loaded. There are many php.ini files so make sure you change in the correct php.ini file.
Answered By - Pramod Kumar Sharma