Day: September 22, 2008

server configuration

Magic with htaccess file – Increase execution time, session expiry time and file upload size limit

<IfModule mod_php5.c> php_value post_max_size 5M php_value upload_max_filesize 5M php_value memory_limit 300M php_value max_execution_time 259200 php_value max_input_time 259200 php_value session.gc_maxlifetime 1200 </IfModule> php_value memory_limit 300M – Set higher default php_value memory_limit in .htaccess upload_max_filesize 5M – it increases default upload limit. The default upload limit is 2MB. the above htaccess increase increases file limit 2mb to […]

Read More