Posted by Ryan Walsh, Last modified by Ryan Walsh on 06 January 2014 02:57 PM

If you are receiving this error...

PHP Parse error: syntax error, unexpected T_FUNCTION

You will need to contact your host and ask for them to  make sure the PHP version of the server is updated to PHP 5.3.0 or higher. 

If you have ensured your server's PHP version is at least 5.3.0, or you have a dedicated server or VPS, and are still receiving this error, please send us over your root access and WP URL and login information so we can debug the issue. 

If you are using HostGator, this can be done by adding these lines to your htaccess file...

#Use PHP 5.3

AddHandler application/x-httpd-php53 .php

For information on how to do this with BlueHost, please go here...

(1 vote(s))
Not helpful

Comments (0)