Hi,
I installed mautic 1.2.0 on my host with php 5.4.43 by softaculous apps installer and get this error:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in …/mautic/index.php on line 31
Any suggestions?
Stilian
Hi,
I installed mautic 1.2.0 on my host with php 5.4.43 by softaculous apps installer and get this error:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in …/mautic/index.php on line 31
Any suggestions?
Stilian
That would seem to imply that the PHP version that the site is launching with isn’t PHP 5.4. That parse error comes when PHP tries to read the file and doesn’t know how to handle the namespace separator, a new feature in PHP 5.3. Does your host require you to make any backend configuration changes through cPanel or edit the .htaccess file to set a PHP version? You may need to do this to get things working.