0

Hi I deployed a VM with Wordpress only I can't update the Maximum Upload Limit Set By Hosting Provider value from 2M to 40M.

I also can't update the PHP Max Input Vars value , despite we have modified the (./etc/php/8.1/apache2/php.ini) php.ini and .htaccess file

Can you please help me. Thank you

2 Answers2

0

You could try the “Increase Maximum Upload File Size” Plug-in.

https://wordpress.org/plugins/upload-max-file-size/

Another option might be to Edit the “Functions.PHP” File, using the Wordpress “Theme File Editor”.

In specific, you’ll want to Locate & Edit the following Line.

@ini_set( 'upload_max_size' , '64M' );

Also, be sure to Restart Apache (or whichever Web Server you’re using) after you’ve finished Updating Settings.

If you continue having issues, feel free to report back with your findings, as I may have a few other suggestions.

Matti
  • 3
  • 2
0

https://i.stack.imgur.com/yR8ZB.png

I tried already with a plugin but it doesn't work