March 30, 2008 at 8:30 pm
· Filed under Apache
Today I found that Apache on my server was very slow and a lot of child pid xxxx exit signal File size limit exceeded (25) errors in error_log.
I simply searched for large (2gb) log files and deleted them. Everything became normal.
Permalink
March 15, 2008 at 12:10 am
· Filed under Apache, PHP
There are different options to increase file upload limit in PHP. First is changing PHP configuration file (php.ini) and restarting webserver or overwriting the php.ini value in .htacces (this option is available if you are running Apache).
There are 2 directives which affect upload limit i.e. upload_max_filesize and post_max_size.
Now we look at the first method. First you have to find out where the php.ini is. To find out the location, make a .php file containing only this code and place it in your webroot and point your browser to this file.
< ?php phpinfo(); ?>
In the page output you can find Configuration File Path. Open this file and change the values for upload_max_filesize and post_max_size according to your requirement e.g. to set 10MB upload limit, the values will be
upload_max_filesize = 10M
post_max_size = 10M
Read the rest of this entry »
Permalink