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
[Back to original message]
|