Ho anche aggiunto
set_time_limit(30000)

ma ancora nulla