PHP- cannot change max_execution_time in xampp

前端 未结 11 945
再見小時候
再見小時候 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:05

    I found the following in the xampp documentation. Maybe you are trying to edit the wrong php.ini file?

    Why have changes in my php.ini no effect?

    Since XAMPP 1.7.1 the "php.ini" is only in the directory "\xampp\php". Till XAMPP 1.7.0 is was in the directory "\xampp\apache\bin".

    If a change in the "php.ini" have no effect, it's possible PHP is still using an other one. You can verify this with phpinfo(). Go to the URI localhost/xampp/phpinfo.php and search for "Loaded Configuration File". This value shows you the "php.ini" PHP is really using.

    Info: After changing the "php.ini" you have to restart Apache, thus Apache/PHP can read the new settings.

提交回复
热议问题