TheRealKerni/HockeyKit — Issue #113: Bizarre PHP error in logger.php
Author: haggisman
Created: 2012-01-13 20:34:23+00:00
State: open

Hi folks

I received this gem after installing the HockeyKit 2.0 server on my MacBook Pro - when calling localhost/AppsBase/Public/index.php ........

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting '{' in /Library/WebServer/Documents/AppsBase/includes/logger.php on line 6 /* which points to the "Class Logger" line */

Apparently this is a known issue and relates to 'double colons' and is related to a bug in Zend

Has anyone seen this, and knows of a workaround? I'm running HockeyKit 2.0 (downloaded this morning from github) on a MacBook Pro OSX Lion 10.7.2

1. PHP
Steve-Howies-MacBook-Pro:includes Scotty$ php -v
PHP 5.3.6 with Suhosin-Patch (cli) (built: Sep 8 2011 19:34:00)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

This is the builtin PHP interpreter NOT the MacPorts one.

2. APACHE
Steve-Howies-MacBook-Pro:sbin Scotty$ ./httpd -v
Server version: Apache/2.2.20 (Unix)
Server built: Sep 8 2011 18:13:15

Suggestions?

Thanks,

Steve