Berikut langkah- langkkah konfigurasi mengubah ukuran upload pada PHP7-Nginx
Pertama edit file php.ini dengan perintah:

 nano /etc/php/7.0/fpm/php.ini

Cari tulisan upload_max_filesize dengan perintah CTRL+W,

 ; Maximum allowed size for uploaded files.
 ; http://php.net/upload-max-filesize
 upload_max_filesize = 2M

 ; Maximum number of files that can be uploaded via a single request
 max_file_uploads = 20

Ubah angka 2M sesuai kebutuhan upload kalian, langkah terakhir restart PHP7 dan Nginx:

 systemctl reload php7.0-fpm
 systemctl reload nginx

Sampai disini konfigurasi sudah selesai, coba cek ukuran upload pada web kalian jika sudah berubah maka konfigurasi sukses.
Sekian Terimakasih
Contact Admin: [email protected]

287total visits,2visits today

Leave a Reply

Your email address will not be published. Required fields are marked *