Possible Duplicate:
Tips for Securing a LAMP Server.
First of all sorry for my stupidness.
I run a server, but everytime (once a week) it get 'hacked' by some things. The index is changing to "Hacked By XXXX". I could grep an ps aux | grep php and found a line like this:
- apache 43434 xxx php iphone.jpg -
Normally it isn't possible to execute an jpg is it? I though i had fix it. But is there an solution for it? It had chmod 777 I believe.
Are there some other must-read articles about security?