When I moved the website from the old host, the old CGI Perl web counter stopped working. Because the new host supports php, I decided to try some php web counters. I found a simple one and had to do a couple of things to make it work. First I had to add a file to my www root called .htaccess that enabled php code on html files by adding this line of text:
Addhandler application/x-httpd-php .html .php
Next I had to set the CHMOD permissions for the file containing the page count to 777 or else it would read the file but be unable to increment the number and generated a bunch of error codes.