Hello All,

I am having a lot of trouble installing Drupal to my GoDaddy Linux Server and am hoping someone here that is smarter than me can help me tackle this. To be exact, my GoDaddy hosting plan is named "Economy Linux Hosting with cPanel". I have attempted multiple installs of Drupal in cPanel via GoDaddy (Tried 7.31 and 7.30 just to see if GoDaddy had an issue with the newest release to no avail). All of which have ended with the same result, a bunch of errors:

Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset 0 in /home/schwindy1234/public_html/includes/bootstrap.inc on line 1607

The error above is output multiple times in the top-most region of the site and throughout the site. These can be seen live at http://www.schwin-design.com/

More errors are also present throughout the site, such as:
Warning: in drupal_validate_utf8() (line 1607 of /home/schwindy1234/public_html/includes/bootstrap.inc).
Warning: in drupal_clean_css_identifier() (line 3818 of /home/schwindy1234/public_html/includes/common.inc).

I am unable to use most functions of Drupal, such as enabling modules without error, and I have a hunch that these errors are related to that. I even attempted doing a manual install of Drupal to my server by extracting Drupal-7.31.tar.gz into a directory. The install script appears as usual but these errors are present again and furthermore, parts of the install script were missing, such as text next to radio buttons being...invisible I guess? Any guidance would be greatly appreciated in troubleshooting this issue and finding a solution. I'll be on Google in the meantime.

Also: The local copy of this install works with no errors on my local machine via MAMP. I suspect there is some difference between the MAMP server and this GoDaddy Linux server that I have been unable to find or tweak but I could be completely off.

Thanks for any help that anyone is able to provide, Robert.


billmill26’s picture

Hey Robert,

Had the same problem with my install. Turns out you need to chat with a go daddy tech and have them update your server to php 5.5. I finally can change my php version now in cpanel but i wasn't able before I talked to them.

schwindy’s picture


I can't thank you enough. Looked everywhere for what you just told me and that was definitely the problem. Contacted GoDaddy support and then found out they actually added an "app" in cPanel to change the PHP version under Software/Services in cPanel, called Select PHP Version (Just for future reference for anyone reading this). Thanks again, Bill.



shoreshotweb’s picture

Upgrading worked like a charm!