Current location: Hot Scripts Forums » Programming Languages » PHP » PHP has encountered a Stack overflow.


PHP has encountered a Stack overflow.

Reply
  #1 (permalink)  
Old 06-30-04, 06:12 AM
kiran_naik kiran_naik is offline
New Member
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
PHP has encountered a Stack overflow.

Hi,

I get an error "PHP has encountered a Stack overflow" for the scripts running in loop.
Same script runs perfectly on other linux server. but gives this error in Windows NT, PHP Version 4.3.2.

Also even for a small for loop of 5 times, it says,
"Fatal Error, Maximum Execution of 30 seconds is exceeded."
But again the same script runs perfectly on local machine and linux server.

I am very much concerned why is this problem.
can anybody please let me know the solution.

Thanks in advance.

Kiran
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-30-04, 02:13 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
Code Guru
 
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
well there is a difference between the two engines, go to php.net and lookup all the functions you are using specifically the file functions are different. If that doesn't work just set the time limit to longer.
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
PHP Dudes - Hi All stuart New Members & Introductions 4 05-03-04 02:22 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 01:31 AM
Realtime PHP Code Obfuscation barrywien General Advertisements 1 11-16-03 07:50 PM
How to convert php generated pages to SE friendly HTML or PHP(SE friendly) -CLASS 101 crippled PHP 1 11-16-03 07:37 AM


All times are GMT -5. The time now is 01:56 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.