Look at the requirements for installing Moodle
http://moodle.org/doc/
This is a well documented problem.
( Safe Mode should be turned off. If you are installing Moodle with a hosting provider, then you should ask them to turn Safe Mode off, )
Installing and upgrading help
Error in site files
This discussion has been locked so you can no longer reply to it.