tomdelonge Posted June 2, 2009 Share Posted June 2, 2009 This is the first time using this new version (1.8.2) I get this error: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mydirectoryhere/library/Zend/Application.php on line 35 No matter what I try. I've even uploaded their "quickstart" application and it gives me this error. I don't know if it matters that my "public" folder is named "html" or something like that. Any ideas? There can't be anything wrong with application.php since I didn't write it... Quote Link to comment https://forums.phpfreaks.com/topic/160721-zend-framework-error/ Share on other sites More sharing options...
RichardRotterdam Posted June 3, 2009 Share Posted June 3, 2009 Did an older version of ZF work? And what is php version is running on the server? Quote Link to comment https://forums.phpfreaks.com/topic/160721-zend-framework-error/#findComment-848372 Share on other sites More sharing options...
Swamp56 Posted June 3, 2009 Share Posted June 3, 2009 Typically that means that you're running and older version of PHP (prior to PHP5). If you are running PHP5, then put this in your .htaccess: AddHandler application/x-httpd-php5 .php Quote Link to comment https://forums.phpfreaks.com/topic/160721-zend-framework-error/#findComment-848624 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.