I have a script in php which should do a lot of calculs and compare numbers (like thousands). I dont know why but my scripts stops after like 3 min without an error message. Im sure that the scripts isnt done but stops I dont know why.
I changed the value of the
max_execution_time = 1800
in the php.ini and it still stops.
It's in local and I use wamp Should I change some settings in Apache?
Check that you have edited the correct php.ini
file. There are 2!
The one in \wamp\bin\php\php{version}\php.ini
is used by the PHP CLI and will have no effect on PHP running under Apache.
Make sure you use the wampmanager menus to edit the php.ini
file. This will ensure that you edit the correct file.
Use this menu set
(left click) wampmanager -> PHP -> php.ini
Check that max_execution_time
is correctly set in the file that is opened by your editor. Save php.ini, then restart Apache and try your script again.