evertramos / docker-wordpress

Wordpress Docker container using SSL Certificates with LetsEncrypt
https://evertramos.github.io/docker-wordpress/
MIT License
484 stars 156 forks source link

Modify php.ini : max_input_vars #26

Closed Tofdu31 closed 6 years ago

Tofdu31 commented 6 years ago

Hi,

I need to increase the value for max_input_vars

I have to go to where for that?

evertramos commented 6 years ago

Hello @Tofdu31,

Add your php.ini options to:

https://github.com/evertramos/docker-wordpress-letsencrypt/blob/master/conf.d/php.ini

Tofdu31 commented 6 years ago

Thank Evert,

file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600
max_input_vars = 100000

Looking, I saw that you had also edit the file docker-compose.yml by adding the line: - ./conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini

So I added this line to my docker-compose.yml and it works !!!

Many thank

evertramos commented 6 years ago

yes Sir!

In fact the file name was uploadsize.ini I just updated to be more readable.

Thanks for the question.