[Freeswitch-users] make phpmod and test.php

Steven Ayre steveayre at gmail.com
Wed Jan 26 20:19:26 MSK 2011


Yes, it uses the class abstraction which was introduced in PHP5 (
http://php.net/manual/en/language.oop5.abstract.php)

Try upgrading to PHP5.

-Steve


On 26 January 2011 05:26, Madovsky <infos at madovsky.org> wrote:

>  Seems that ESL.php is for PHP5 only ?
>
> ----- Original Message -----
> *From:* Madovsky <infos at madovsky.org>
> *To:* freeswitch-users at lists.freeswitch.org
> *Sent:* Wednesday, January 26, 2011 12:18 AM
> *Subject:* make phpmod and test.php
>
> after removed warn as errors and compile ESL.so
> and did on bash command
>
> php test.php
>
> Parse error: syntax error, unexpected T_CLASS in
> /home/src/freeswitch/libs/esl/php/ESL.php on line 30
>
>
> I just want to try to listen ESL events.... ;)
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110126/4662626d/attachment.html 


More information about the FreeSWITCH-users mailing list