We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How can I increase the default size from 2,048KiB to 50MBs?
How can I increase the default size from 2,048KiB to 50MBs?
I have downloaded a mysql database that is about 20 MB however when I try to import the database it gives me an error which says "You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.", so my question is how can I increase the default size from 2,048KiB which is about 2 MB to 50 MBs so I can import a database?
Re: How can I increase the default size from 2,048KiB to 50M
In /etc/php5/apache2/php.ini check again those:
and restart apache2 or httpd in CentOS
Code: Select all
post_max_size = 64M
upload_max_filesize = 64M
Re: How can I increase the default size from 2,048KiB to 50M
Thank you for your fast reply, when I login as root and I try to access "/etc/php5/apache2/" to make the appropriate changes, it says in that directory does not exist, however in /etc/ there is a file called "php.ini" and I see it only has "upload_max_filesize = XXMB" but not "post_max_size = XXM", so I am not sure if I should edit the "php.ini" just in the /etc/ folder.skurudo wrote:In /etc/php5/apache2/php.ini check again those:and restart apache2 or httpd in CentOSCode: Select all
post_max_size = 64M upload_max_filesize = 64M
Re: How can I increase the default size from 2,048KiB to 50M
Yep, there is difference in Debian-Ubuntu and CentOS
https://vestacp.com/docs/#config-log-lo ... hel-centos
Your file:
/etc/php.ini
https://vestacp.com/docs/#config-log-lo ... hel-centos
Your file:
/etc/php.ini
Re: How can I increase the default size from 2,048KiB to 50M
if you don't see in your config, you can add yourself.
post_max_size default value is "8M"
(from docs - http://php.net/manual/en/ini.core.php)
post_max_size default value is "8M"
(from docs - http://php.net/manual/en/ini.core.php)