GoDaddy PHP Restrictions

GoDaddy shared hosting restricts several commonly used PHP functions including fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir. This is because GoDaddy has configured PHP on Microsoft servers to run in "Safe Mode". According to a post on wordpress these php functions are enabled on a "need for" basis. This causes many headaches for developers when creating/ installing applications such as moveabletype, wordpress, custom applications, websites etc. Dont fret just switch hosting packages that do not run PHP in safe mode. This includes all packages at 1and1.com and LInux packages at GoDaddy.com

Error Message:

Warning: fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir() has been disabled for security reasons ...

Suggestions/ Workarounds:
Switch to Linux hosting at GoDaddy
Switch hosting companies. I suggest 1and1.com

Related Articles:
SlashDot Articles - GoDaddy.com Dumps Linux for Microsoft
Google Search
Word Press Discussion Thread

line

Services Web Design Content Management Consulting Services