RE: newbie trying to find segfault reasons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I'm kinda new at PHP (but not entirely new).  I'm having a heck of a 
time with PHP causing my apache processes to segfault.  I've found a few

cases where it's something simple, like referring to an object property 
that does not exist, but it's painstaking work.  I'm reduced to 
commenting out blocks of code, and then trying to comment and uncomment 
stuff until I can narrow it down to the line where I'm having the
problem.

Everybody can't be having this trouble.  How can I configure PHP so that

it will just tell me when I've made a typo, rather than segfaulting?

My environment is Apache/2.0.55, Ubuntu Edgy, PHP/5.1.6
[/snip]

Typically when this occurs it means that one of your PHP extensions did
not compile or build properly. Once you have isolated the code chunk it
may clue you into a bad extension.

I know that it is long and tedious, but you may be able to test this by
commenting an extension, restarting Apache, running the problem code and
seeing if a segfault occurs. Once you have id'd the extension you can
rebuild or replace. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux