I encountered this exact problem and solved it by doing a command prompt and typing in “php” to run the exe file in the php install directory. When I ran the file it noticed that I had a parse error inside my php.ini file. Sure enough, once I fixed this, everything started working!