Hey guys, I am using Easyphp 2.0 on my localmachin and am having a problem with max execution fatal error. I have changed the value of the php.ini file of: max_execution_time = 9999 which by default was like 30 seconds I think. I have restarted easy php and I even put an .htaccess file in the www directory which says this: php_value max_execution_time 6000 But I keep getting this error: Fatal error: Maximum execution time of 60 seconds exceeded in C:\Program Files\EasyPHP5.3.0\www\conv.php on line 82 Yea my code is doing many iterations and I need to store many values in my database and this is just giving me problems because it is not able to run till completion. Thanks for the help!
try using the php function set_time_limit(int seconds) at the top of your script, that might work. check out php.net/set_time_limit for more details.
Also, you can create a page with the following in it: <?php phpinfo(); ?> Then visit the page you save that in, it will give you the details of your php configuration, including the max_execution time that is being loaded, and the exact location of the php.ini you should be modifying.