Php.ini Issues - Timing Out
« on: May 31, 2007, 05:02:53 PM »
My script is timing out in 30 seconds when attempting to crawl. The admin suggests increasing the max_execution_time and/or memory limit in the Web Host's php.ini file.

Since the default setting in php for max_execution_time is 30 seconds and Web Hosts will not make changes to their configuration, the only option is to create a custom php.ini file and upload to my web root.

Does anyone know how to do this? This should either be handled within the script or instructions for the work around should be provided.
Re: Php.ini Issues - Timing Out
« Reply #1 on: May 31, 2007, 09:30:59 PM »
Hello,

the following should be added in custom php.ini:

max_exeuction_time = 6000

(you can change the number)
Re: Php.ini Issues - Timing Out
« Reply #2 on: June 01, 2007, 06:09:26 PM »
I've created the custom php.ini file but the app still times out. How do you tell the web server to use the custom php.ini file instead of the host's.
Re: Php.ini Issues - Timing Out
« Reply #3 on: June 03, 2007, 10:26:55 AM »
Hello,

that depends on the server configuration (whether custom php.ini is allowed or not). Replied to your email.