If the limitation you are running into is a limit on the size of file uploads on your system, you may be able to increase this limit. By default it's usually 2M or 8M. To increase it you need to change PHP settings. You can change these settings either system-wide (if you have permission) or locally. The settings to change (with their typical defaults are):
post_max_size = 8M
upload_max_filesize = 2M
You must ensure that post_max_size is the same or larger than upload_max_filesize.
* These settings can be changed globally by changing them in your php.ini file (its location varies depending on your system). After changing the settings, remember to restart your web server.
* You may be able to change these settings locally if you're using Apache by putting a ".htaccess" file in phpMyAdmin's directory. The contents of the file should be:
php_value post_max_size 20M
php_value upload_max_filesize 20M
Change '20M' to however large you want it to be. You shouldn't need to restart the web server for these changes to take effect, but if you start getting Internal Server Errors (500) then this probably means your host does not allow you to change these settings and you need to remove those settings.
//For kloxo: php.ini location for phpmyadmin is
/usr/local/lxlabs/ext/php/etc/php.ini
ABHIONLINUX
Site useful for linux administration and web hosting
2009/11/24
2009/11/23
Core files in Linux
A core file created when ever a program terminates unexpectedly and its also useful for determining what caused the termination. In many Linux server by default they do not produce core files when programs crash or terminates unexpectedly.
On most of the Linux server core file size limitation is set to 0.You can check the core file size limit set in server by using following command.
root@gunjan [~]# ulimit -c
1000000
In above command core file size limit is 1000000 if output occur empty then it means core file size limit haven’t set on server and you can set it as
root@gunjan [~]# ulimit -c 1000000
or
root@gunjan [~]# ulimit -c unlimited
If you want to test core file limit is working on your server or not? then run following command
kill -s SIGSEGV $$
This above command will crashes your shell and produces core file in the current directory. as core.*
If core file is taking lots of disk space on server and you want to disable it then follow the steps one by one.
root@gunjan [~]#which httpd
/usr/sbin/httpd
root@gunjan [~]#pico /usr/sbin/httpd
And following line in /usr/sbin/httpd
ulimit -c 0
And then restart the Apache server
On most of the Linux server core file size limitation is set to 0.You can check the core file size limit set in server by using following command.
root@gunjan [~]# ulimit -c
1000000
In above command core file size limit is 1000000 if output occur empty then it means core file size limit haven’t set on server and you can set it as
root@gunjan [~]# ulimit -c 1000000
or
root@gunjan [~]# ulimit -c unlimited
If you want to test core file limit is working on your server or not? then run following command
kill -s SIGSEGV $$
This above command will crashes your shell and produces core file in the current directory. as core.*
If core file is taking lots of disk space on server and you want to disable it then follow the steps one by one.
root@gunjan [~]#which httpd
/usr/sbin/httpd
root@gunjan [~]#pico /usr/sbin/httpd
And following line in /usr/sbin/httpd
ulimit -c 0
And then restart the Apache server
Subscribe to:
Comments (Atom)