Setting up Zend Framework 2 on GoDaddy

Posted by Yossi on Server Fault See other posts from Server Fault or by Yossi
Published on 2012-08-31T18:47:31Z Indexed on 2012/08/31 21:39 UTC
Read the original article Hit count: 611

Filed under:
|

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.

© Server Fault or respective owner

Related posts about godaddy

Related posts about zend-framework