[Freeswitch-users] ESL with PHP not working

Marc de Corny marcdecorny at gmail.com
Sat Apr 9 00:08:07 MSD 2011


Hi all

got an issue with ESL I cannot figure out.

I have installed enabled the event socket on the Freeswitch, and it works
locally on the server via PHP

I have a remote server were I compiled the ESL.so and did the php-install.
It is a standard CentOS install with apache.
when I type into the command line :     php test.php   ( the standard test
script that is api status ) I get the correct result.
when I execute the same script from the browser on the remote server I get
an error on the getBody command.
*Fatal error*: Call to a member function getBody() on a non-object in *
/var/www/html/test.php* on line *9*

the only think I can think of as it works from the command line as root but
not as apache is rights or ownerships. but I have changed everything to
apache without any luck.

I'm thinking this must be a common issue. Anybody experienced this ?

Thanks
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110408/af44478b/attachment.html 


More information about the FreeSWITCH-users mailing list