2011/05/27

Change allowed uploading file size - Ubuntu 11.04

When you import a large table using phpmyadmin, you may see the error of, No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. To increase allowed uploading file size, you can need change two values at php.ini file. At command line, type in, sudo vim /etc/php5/apache2/php.ini And then, change values of post_max_size and upload_max_filesize to whatever you want, the default is 8M and 2M separately. ; Maximum size of POST data that PHP will accept. ; http://php.net/post-max-size post_max_size = 80M ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 20M

No comments:

Post a Comment