Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
konanjudicael
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
  • Quote

Post by konanjudicael » Thu Feb 20, 2020 4:14 pm

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
Top

konanjudicael
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
  • Quote

Post by konanjudicael » Mon Feb 24, 2020 10:33 am

No one to help me ?
Top

exclu254
Posts: 44
Joined: Mon Dec 23, 2019 6:44 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: How to change VestaCP local post_max_size modify value in /etc/php.ini file applies globally
  • Quote

Post by exclu254 » Mon Feb 24, 2020 10:06 pm

You want post_max_size values to apply globally? Is that what you meant?
Top

konanjudicael
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
  • Quote

Post by konanjudicael » Mon Mar 02, 2020 10:45 am

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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

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
  • Quote

Post by grayfolk » Mon Mar 02, 2020 1:00 pm

konanjudicael wrote: ↑
Mon Mar 02, 2020 10:45 am
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
Set upload_max_filesize and post_max_size. post_max_size should be bigger than upload_max_filesize.
Dont forget to restart apache/php-fpm after changes.
Or, with apache you can override this directives via .htaccess file.
Top

konanjudicael
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
  • Quote

Post by konanjudicael » Mon Mar 02, 2020 1:41 pm

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
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password