Cybernet Web Design - Web Design & Linux Server Administration
Cara Setting Php.ini Upload Max File Size - Printable Version

+- Cybernet Web Design - Web Design & Linux Server Administration (https://www.cybernetwebdesign.com)
+-- Forum: Web Server (https://www.cybernetwebdesign.com/Forum-Web-Server)
+--- Forum: Server Problems (https://www.cybernetwebdesign.com/Forum-Server-Problems)
+--- Thread: Cara Setting Php.ini Upload Max File Size (/Thread-Cara-Setting-Php-ini-Upload-Max-File-Size)



Cara Setting Php.ini Upload Max File Size - cybernetwebdesign - 06-02-2016

Login ssh sebagi root dan ketik perintah : vi /etc/php.ini

Berikut ini konfigurasi file php.ini Upload Max File Size :

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 1000M;
post_max_size = 1000M;
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20

Silahkan ganti 20 sesuai dengan kebutuhan maksimal upload anda.

Mudah kan? bersulang dulu Big Grin