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.
upload_max_filesize issue
upload_max_filesize issue
hello!
debian, vesta, php 5.5, phpcgi
I have some issues with upload_max_filesize in my sites (joomla). Joomla says that it is set to 2M, but i need 64M.
What i did:
1. /usr/local/vesta/data/templates/web/apache2 edited all templates and added in <Directory %docroot%>
2. /home/admin/conf/ - the same
3. /etc/php5/apache2/php.ini - 64М everywhere
4. /etc/php5/cgi/php.ini - the same
5. /etc/php5/cli/php.ini - the same
6. .htaccess of every domain
7. php.ini in root folder of each domain
8. rebooted server and services (apache2) about 100 times.
Here is a result: http://devilstar.ml/olimp/php.php
And here is what my console says:
And my question is - how can i change upload_max_filesize?
debian, vesta, php 5.5, phpcgi
I have some issues with upload_max_filesize in my sites (joomla). Joomla says that it is set to 2M, but i need 64M.
What i did:
1. /usr/local/vesta/data/templates/web/apache2 edited all templates and added in <Directory %docroot%>
Code: Select all
php_admin_value post_max_size 64M
php_admin_value upload_max_filesize 64M
3. /etc/php5/apache2/php.ini - 64М everywhere
4. /etc/php5/cgi/php.ini - the same
5. /etc/php5/cli/php.ini - the same
6. .htaccess of every domain
Code: Select all
php_value upload_max_filesize 64M
Code: Select all
upload_max_filesize = 64M
post_max_size = 64M
Here is a result: http://devilstar.ml/olimp/php.php
And here is what my console says:
Code: Select all
root@devilstar:~# php -ini | grep max
log_errors_max_len => 1024 => 1024
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
post_max_size => 64M => 64M
upload_max_filesize => 64M => 64M
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
session.gc_maxlifetime => 1440 => 1440
opcache.max_accelerated_files => 2000 => 2000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5