You are here: Re: help! what should I do when there is a segmentation fault in my php script « PHP Programming Language « IT news, forums, messages
Re: help! what should I do when there is a segmentation fault in my php script

Posted by B.r.K.o.N.j.A on 11/08/06 17:02

yangsuli@gmail.com wrote:
> It works perfectly well before
> but today my browser cannot get this php script
> i tried to run it in the localhost
> and it reported a seg fault :(
>
> i donot konw what to do.....:(
> restarting the computer didnot work.
> and i donot think the problem lies on the code..
> even it is
> i only want it all come back to the good old days when the same php
> script works well..
>
> ps.is there any good debugger for php in linux?
> thanks a lot
>
I had a problem with php 5.0.4 crashing apache on some2 simple if
statement.It was inside medium sized object oriented app and it boiled
down to some typecasting for example

if($myvar=$something) // crashes apache
if((int)$myvar=$something) // works fine

Hope it helps

--

B.r.K.o.N.j.A = Bionic Robotic Knight Optimized for Nocturnal Judo and
Assasination

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация