Error Upload File

This item was filled under [ Solusi Error ]

Masalah:

Error Upload File , biasanya upload Image atau Gambar atau file apapun.

Sebab:

  • permission path tidak cocok
  • ukuran file terlalu besar atau melebihi batas maksimum settingan php

Solusi:

  • pastikan path yang akan dituju sudah memili permission yg sesuai, dengan cara chmod 777 folder tersebut.
  • jika, file tersebut melebihi batas maksimal, ubah settingan pada php.ini, menjadi:
    upload_max_filesize = 10M
    post_max_size = 20M

    ket.: post_max_size harus melebihi atau paling tidak sama dengan upload_max_filesize
    Setelah itu, restart Apache.

Rate this topic:
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
Popularity: 360 views
Tagged with: [ , , ]
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Artikel Sejenis

Leave a Comment

Halaman ini di eksekusi dalam waktu 0.811 detik! (koneksi mayan kenceng nih...)