Today I accidentally gave write permission to my
index.php file to using
sudo chmod +x index.php. I don't know what permission it had before.
index.php contains a php script for collecting number of visitors and an another script for collecting referrer links. It also contains some pictures and css code and my webserver is Lighttpd
Did I made a mistake by giving
index.php that permission? Can my website be hacked for it?