XML Sitemaps Generator

Author Topic: Php.ini Issues - Timing Out  (Read 24190 times)

jkress

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Php.ini Issues - Timing Out
« on: May 31, 2007, 04: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Php.ini Issues - Timing Out
« Reply #1 on: May 31, 2007, 08:30:59 PM »
Hello,

the following should be added in custom php.ini:

max_exeuction_time = 6000

(you can change the number)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

jkress

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: Php.ini Issues - Timing Out
« Reply #2 on: June 01, 2007, 05: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Php.ini Issues - Timing Out
« Reply #3 on: June 03, 2007, 09:26:55 AM »
Hello,

that depends on the server configuration (whether custom php.ini is allowed or not). Replied to your email.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2