PHP overflow

Hi,everyone
I am using windows 2003 and IIS6 and IIS-Aid for run php on IIS, some times I have problem on php sites,
I see this error on them :

PHP has encountered a Stack overflow

What is this eeror and how can to fix this issue,

Thanks

Average rating
(1 vote)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Can you look in your php log and see if you can see any more detailed errors? Also, what PHP extensions do you have loaded?
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

hkhanzadeh's picture

Location: IRAN

Joined: Mar 2007

Send PM

hkhanzadeh said:

Hi,
I have access to server but I don't know error log location , I think php.info can show all you need to know :
http://www.thepersianmodel.com/php/cms/ip.php

Thanks

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Are you sure that is the correct server? It is running PHP 4.3.6 and doesn't appear to have had the IIS Aid PHP Installer installed on it at all. Upgrading from PHP 4 to PHP 5 is not a trivial task. I would recommend that you take a look at my guide on how to uninstall PHP from IIS before continuing.
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

hkhanzadeh's picture

Location: IRAN

Joined: Mar 2007

Send PM

hkhanzadeh said:

Uninstall was successful,
I need to know witch API is better?
ISAPI or fast CGI ?

Thanks

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

It really depends on your requirements, but generally I would suggest you use FastCGI.

----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

hkhanzadeh's picture

Location: IRAN

Joined: Mar 2007

Send PM

hkhanzadeh said:

Installation of new PHP was successfully and Overflow problem solved,
But, for now ISAPI installed on my server, I need to know can I have 2 API on my server (ISAPI & FastCGI )?

Thanks

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

You can run both API's, however you will need to give your PHP environment a bit of thought as for performance typically you would use the non thread safe PHP binaries with FastCGI where ISAPI will use the thread safe PHP binaries.
----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

hkhanzadeh's picture

Location: IRAN

Joined: Mar 2007

Send PM

hkhanzadeh said:

Now I am using ISAPI only, but some times some website give this error :

PHP has encountered an Access Violation at 19148AA7

What is the issue?

Thanks

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

Could be many things. What PHP extensions do you have loaded? Anything in your event viewer or PHP logs? Does this error occur globally, or does it only happen when accessing a particular website or URL?

----------------
Dominic Ryan
4 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

hkhanzadeh's picture

Location: IRAN

Joined: Mar 2007

Send PM

hkhanzadeh said:

Hi,
I am using ISAPI
and I can find this error in my server events

Faulting application w3wp.exe, version 6.0.3790.3959, faulting module aspnet_isapi.dll, version 1.1.4322.2407, fault address 0x0002e428.

do this event help ?

every time on all of the php sites I see this error :
( PHP has encountered an Access Violation at randum number )