Depending on your hosting company, you may or may not be able to change the settings of the php. In that case, we have our custom php.ini file in magento. The php.ini file is location under the root of magento installation with the name of php.ini.sample. Open this file and make the necessary changes to php settings as shown below, ; This file is for CGI/FastCGI installations. ; Try copying it to php5.ini, if it doesn't work ; adjust memory limit memory_limit = 64M max_execution_time = 18000 ; disable magic quotes for php request vars magic_quotes_gpc = off ; disable automatic session start ; before autoload was initialized flag session.auto_start = off ; enable resulting html compression zlib.output_compression = on ; disable user agent verification to not break multiple image upload suhosin.session.cryptua = off ; turn off compatibility with PHP4 when dealing with objects zend.ze1_compatibility_mode = off ; PHP for some reason ignores thi...
IT graduate and a professional web developer having specialization on magento, ci, opencart, wordpress