Segmentation fault

My week spent mostly on the Out On the Town, I have been trying to get some things in place that I have wanted for some time. I originally started with the web server that mysteriously stopped working for me … Portions of a site (such as OctaneCrew‘s Gallery) or entire sites stopped working … The only thing realized was a Segmentation fault (11) in the Apache error log. The quick and easy solution was to move the sites to another server. The offending server has since become a new CounterStrike Game server … Much as it did in the past, the CounterStrike server remains barely used so I decided I would like to throw some things onto that server. I decided that stats gathering may be better suited to a faster machine that can render RRDTool graphs quicker … A fresh install of the graphing application shows the same problems as the other web sites … So, on my road to fix this thing …

First I deinstalled Apache and PHP4 along with the PHP4-Extensions … I also realized that I was running Apache 1.3, not 2 … No matter … Reinstalling all of these applications did not fix the problem … I then decided to upgrade the box … It was running FreeBSD 5.3 so I brought it up to FreeBSD 5.4-p7 … This didn’t fix it either … After Googling like crazy, I didn’t find a specific solution … This is very frustrating … I then decided to go into the actual PHP code and I found that when I use session_start that’s what craps it out … I found my session.so file and saw that deinstalling and reinstalling left me with an older file so I deleted it … When reinstalled I now had all fresh .so files … This still hasn’t fixed it … I have been trying various deinstalls and reinstalls and this hasn’t fixed it either … This is driving me crazy …

Fixed! The final solution was to of course deinstall everything … After the PHP4 installation was complete, I went and deinstalled Aapche2 individually … (When installing PHP4 it also installs Apache for you) … There was some extraneous errors left over in the Apache error file which turned out to be duplicate entries in the PHP4 extensions file … After they were removed everything is working …