[Solusi] 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 (4 votes, average: 5.00 out of 5)
Loading ... Loading ...
Popularity: 4,691 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

3 Comments on “[Solusi] Error Upload File”

  • agus
    Google Chrome Google Chrome 12.0.742.100
    Windows Windows XP
    22 Jun 2011 0:51

    makasih gan, sangat membantu :)

    Like or Dislike: Thumb up 0 Thumb down 0
  • TaeGang Unite
    Mozilla Firefox Mozilla Firefox 3.0.19
    Windows Windows XP
    20 Jul 2011 20:52

    bang itu ngatur upload max nya dimana ???
    ngga ngerti ???
    pleasee mohon bantuan saia upload gambar tapi gagal terus :D

    Like or Dislike: Thumb up 0 Thumb down 0
  • Mozilla Firefox Mozilla Firefox 5.0
    Windows Windows XP
    20 Jul 2011 21:18

    @TaeGang Unite, jika menggunakan xampp webserver, lokasi php.ini ada di \xampp\apache\bin\php.ini

    EDIT: apakah sudah dicoba dengan file berukuran kecil?

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Halaman ini di eksekusi dalam waktu 1.789 detik! (koneksi mayan bagus nih...)