Setting up Zend Framework 2 on GoDaddy
- by Yossi
I tried setting up ZF2 on the GoDaddy shared servers, though it doesn't work. I tried to download it directly, and using the git composer (which I managed to install successfully on the server).
The error I'm receiving from PHP is this:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/home/content/82/5123082/html/tmp/ZendSkeletonApplication/public/index.php
on line 12
Parse error: syntax error, unexpected T_STRING in
/home/content/82/5123082/html/tmp/ZendSkeletonApplication/public/index.php
on line 12
The PHP version the account is running:
PHP 5.3.13 (cli) (built: May 14 2012 16:26
The Linux server that is used is:
Linux ...secureserver.net ... #1 SMP Fri Jul 15 08:15:44 EDT 2011 i686 i686 i386 GNU/Linux
CentOS release 5.5 (Final)
Any ideas what I'm doing wrong? I never worked with ZF1, and I know there are custom solution out there for ZF1, but I didn't manage to port them into ZF2.