there are two files in my project, php.ini and php5.ini
php.ini contains set_time_limit
and php5.ini contained max_execution_time = 60, but i have changed it to max_execution_time = 500
but when I open phpinfo.php, it still shows max_execution_time = 60
what should i write
I also tried set_time_limit(500) in my php.ini
It is not recommended to change the max_execution_time to higher values server-wide. Simply use the following code before calling phpinfo() or the code you need.
set_time_limit() simply resets the time limit, you need max_execution_time.