PHP- cannot change max_execution_time in xampp

前端 未结 11 851
再見小時候
再見小時候 2021-01-18 00:42

I\'ve tried everything to change the max_execution_time of a php crawler script so that it can run an infinite amount of time.

I have changed the php.in

11条回答
  •  情话喂你
    2021-01-18 01:12

    You shouldn't let your crawler run under apache, it's better to run it stand-alone via cli as part of a Gearman setup.

    That way it won't hog your web server and it can run as long as you want. You can find many bindings for Gearman that you can use, including PHP of course.

提交回复
热议问题