Solve the blank page issue to your php pages!

Today i got a blank page after a php script modification. Since i worked on a dedicated server managed by myself, i was tempted to think about rebooting Apache.

Indeed that what i did. But nothing happened, i still got a blank page... After a few googling, it appeared that tha internal server error 500 can happen for various reasons

.

If you have a dedicated server, anytime you get a 500 error, first check your logs. That's something you should get used to. The first thing to do is to look at you php error log, located on you web server under its domain folder. Then open it and just see, it is not so hard to decode a log file.

In my case, i redeclared a function (stupid !) and the whole website broke !