Usually this is an error in your PHP configuration.
It's actually pretty easy to figure out what exactly is going on:
- Create a small file (test.php) with the standard phpinfo() script
- Open a command prompt
- Start php manually using the small file, e.g. '"\program files\php\php.exe" test.php
- Read the error messages :-)