Search

Hi,

I'm having a problem while trying to install Symphony to production server.

I get the following error: Parse error: syntax error, unexpected T_NEW in index.php on line 10

and when I try to skip index.php and go straight to install.php I get: Parse error: syntax error, unexpected '{' in install.php on line 61

Server has PHP 5.2.17-0.dotdeb.0 with Suhosin-Patch 0.9.7 Running Apache2 and php5-cgi.

The installation and site works fine on my MAMP.

EDIT: Apparently even though the php -version returned 5.2.17 the server was running php 4...

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details