Hey,
We are in the process of rewriting our internal management system (which was
written in PHP4), and figured this would be a good time to migrate to PHP5
to get all the OO goodness it has to offer :) I am running php 5.0.3 on
apache 1.3.something under slackware linux.
Unfortunately I frequently get segfaults from php scripts, and they are not
even scripts that do anything fancy or special. For example, in one script
i got a segfault just in the middle of a HTML comment, which seems to make
no sense whatsoever (unless hte crash came later and it hadn't gotten round
to sending the rest of the output yet.. but whatever the case if i removed
the html comment the code started working again). Another crash occurs when
i assign a value to a variable, not any kind of special variable, just
assigning a string value to a variable, and php5 segfaults.
Naturally this makes very very unhappy as I very much want to move the new
system to php5, because it looks like a much better language otherwise :)
Has anyone else experienced problems like this? And more importantly, does
anyone know how to get around these problems?
Thanks,
Daniel
We are in the process of rewriting our internal management system (which was
written in PHP4), and figured this would be a good time to migrate to PHP5
to get all the OO goodness it has to offer :) I am running php 5.0.3 on
apache 1.3.something under slackware linux.
Unfortunately I frequently get segfaults from php scripts, and they are not
even scripts that do anything fancy or special. For example, in one script
i got a segfault just in the middle of a HTML comment, which seems to make
no sense whatsoever (unless hte crash came later and it hadn't gotten round
to sending the rest of the output yet.. but whatever the case if i removed
the html comment the code started working again). Another crash occurs when
i assign a value to a variable, not any kind of special variable, just
assigning a string value to a variable, and php5 segfaults.
Naturally this makes very very unhappy as I very much want to move the new
system to php5, because it looks like a much better language otherwise :)
Has anyone else experienced problems like this? And more importantly, does
anyone know how to get around these problems?
Thanks,
Daniel
Comment