How To Change Upload_Max_Filesize on Synology NAS WordPress

wordpress (Demo)
Advertisements by Google

Surely you’re wondering how to change the upload_max_filsize value from 2MB to 128MB in your WordPress website hosted on a Synology NAS device. In this article I will teach you not only how to change the upload_max_filesize value, but also how to change all the following PHP values to the maximum values:

upload_max_filesize 128M
post_max_size 128M
memory_limit 256M
max_execution_time 300
max_input_time 300

  • STEP 1

Go to Web Station. On the left sidebar click on PHP Settings then double click on Default PHP Profile. Follow the instructions in the image below.

1 Step Upload_Max_Filesize Synology NAS WordPress
  • STEP 2

After you double click on Default PHP Profile, the window below will open. Go to Core tab, then type in the following in the search box: upload_max_filesize. Change the default value from 2M to 128M then click OK. Note: Sometimes you have to repeat the operation for the settings to be saved. If your settings aren’t saved after you click OK, perform the exact same operation again in order for the settings to be saved. Follow the instructions in the image below.

Advertisements by Google
2 Step Upload_Max_Filesize Synology NAS WordPress
  • STEP 3

Now repeat the same instructions provided at STEP 3 for all the others values.

post_max_size 128M
memory_limit 256M
max_execution_time 300
max_input_time 300

  • STEP 4

Log into your WordPress and go to Media / Add New. If everything went well, you will see the Maximum upload file size: 128 MB.

Upload_Max_Filesize Synology NAS WordPress

Note: Many people believe that it is enough to add a file called php.ini in the main WordPress folder to change the upload_max_filsize value, but this is not the case when hosting a website from home on a Synology NAS server. Not even adding the variables to the wp-config.php WordPress file will solve the problem. The only 100% working solution is to change the settings directly in Web Station. The instructions above work perfectly with PHP 7.0.XPHP 7.2.X – PHP 7.3.X
Note
: Sometimes you have to repeat the operation for the settings to be saved. So on STEP 3, if your settings aren’t saved after
Note: If you encounter any problems, just contact me.

Advertisements by Google

Related Posts

Leave a comment

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
%d bloggers like this: