I had a problem with a php/mysql based program that was hosted on the SME.I tried to reinstall the php but as end result i can't reach the server from the browser.Can it be Apache problem?
the problem is that you are thinking in the windows way: if something doesn't work, just remove it and reinstall.

on SME (and on linux, generally speaking) you should understand what's going wrong before trying to fix it
take a look at httpd log files (in /var/log/ dir) and report here (hope Charlie will not punish me for the suggestion

)