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 to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
-
- Posts: 6
- Joined: Thu Feb 20, 2020 3:11 pm
- Os: CentOS 6x
- Web: apache + nginx
How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
Hello,
I have two values for post_max_size in phpinfo
I modified the file /etc/php.ini but it applies globally
there is a second local value that prevents downloading large files
I have two values for post_max_size in phpinfo
I modified the file /etc/php.ini but it applies globally
there is a second local value that prevents downloading large files
-
- Posts: 6
- Joined: Thu Feb 20, 2020 3:11 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
You want post_max_size values to apply globally? Is that what you meant?
-
- Posts: 6
- Joined: Thu Feb 20, 2020 3:11 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
I want to increase the size of the downloadable files.
I already edited /etc/php.ini but it didn't solve the problem
I still cannot upload a file larger than 10MB
I already edited /etc/php.ini but it didn't solve the problem
I still cannot upload a file larger than 10MB
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
Set upload_max_filesize and post_max_size. post_max_size should be bigger than upload_max_filesize.konanjudicael wrote: ↑Mon Mar 02, 2020 10:45 amI want to increase the size of the downloadable files.
I already edited /etc/php.ini but it didn't solve the problem
I still cannot upload a file larger than 10MB
Dont forget to restart apache/php-fpm after changes.
Or, with apache you can override this directives via .htaccess file.
-
- Posts: 6
- Joined: Thu Feb 20, 2020 3:11 pm
- Os: CentOS 6x
- Web: apache + nginx
Re: How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
thank you for your reply.
Actually i have two values in the phpinfo file
Directive Local Value Master Value
upload_max_filesize 10M 200M
I want to change the value 10 Mo to 200 Mo
Actually i have two values in the phpinfo file
Directive Local Value Master Value
upload_max_filesize 10M 200M
I want to change the value 10 Mo to 200 Mo