Error max_execution_time

This item was filled under [ Solusi Error ]

Pesan Error:

Error max_execution_time

Sebab:

script php melebihi batas eksekusi waktu yang ada, default adalah 30 detik

Solusi 1:

  • ubah script se-efisien mungkin

Jika tidak memungkinkan, maka ubah default maksimum eksekusi pada php.ini, menjadi:

max_execution_time 60

Setelah itu restart Apache.

Solusi 2:

Atau, bisa juga langsung pada script file php yang bersangkutan, dengan menyisipkan kode berikut diatas script Anda:

set_time_limit(60); // 60 detik

atau

set_time_limit(0); // tanpa batas, tidak direkomendasikan

Rate this topic:
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
Popularity: 330 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

One Comment on “Error max_execution_time”

  • 19 November, 2009, 21:53

    tak coba dulu bro..
    udah coba seting pake .htaccesss tapi tetep gak bisa..

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Comment

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