kakserpom / phpdaemon

Asynchronous server-side framework for network applications implemented in PHP using libevent
http://daemon.io/
GNU Lesser General Public License v3.0
1.53k stars 231 forks source link

phpdaemon doesn't start #60

Closed elynov closed 12 years ago

elynov commented 12 years ago

i do: ./phpd start system display:Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /usr/local/phpdaemon/bin/phpd on line 27 Could smb says what is the problem?

ysangkok commented 12 years ago

Which PHP version are you using?

kakserpom commented 12 years ago

Looks bogus. Tested on PHP 5.4 and 6, no parse error.

ysangkok commented 12 years ago

I think it's because you have a version of PHP that doesn't support anonymous functions. Try PHP 5.3+.