* enter the <fs src>/libs/esl directory<div>* run "make"</div><div>* run "make phpmod"</div><div><br></div><div>If you face error in any step above, then please output the "full output" into</div>
<div><a href="http://pastebin.freeswitch.org/">http://pastebin.freeswitch.org</a></div><div><br></div><div>and let us know the pastebin link.</div><div><br></div><div>Regards</div><div>HASSAN</div><div><br><br><div class="gmail_quote">
On Wed, Aug 25, 2010 at 06:07, jesse <span dir="ltr"><<a href="mailto:chat2jesse@gmail.com">chat2jesse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
during installation:<br>
<br>
make[1]: Entering directory `/tmp/freeswitch/libs/esl/php'<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Leaving directory `/tmp/freeswitch/libs/esl/php'<br>
make -C php install<br>
PHP Warning: PHP Startup: ESL: Unable to initialize module<br>
Module compiled with module API=20090626, debug=0, thread-safety=0<br>
PHP compiled with module API=20060613, debug=0, thread-safety=0<br>
These options need to match<br>
in Unknown on line 0<br>
make[1]: Entering directory `/tmp/freeswitch/libs/esl/php'<br>
cp ESL.so /usr/lib/php5/20060613<br>
cp ESL.php /usr/share/php<br>
<br>
Then when I open the PHP script from browser, I always get<br>
<br>
Unable to initialize module Module compiled with module API=20090626,<br>
debug=0, thread-safety=0 PHP compiled with module API=20060613,<br>
debug=0, thread-safety=0 These options need to match in<br>
/usr/share/php/ESL.php on line 23<br>
<br>
any one is good at PHP can fix this issue? I guess the root cause is<br>
that I have two PHP installed and my system is totally messed. I<br>
tried to remove the new php installation, but still the same result.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Aug 24, 2010 at 4:56 PM, Nyamul Hassan <<a href="mailto:mnhassan@usa.net">mnhassan@usa.net</a>> wrote:<br>
> I got my phpmod installed and working great! Did you follow:<br>
> <a href="http://wiki.freeswitch.org/wiki/Esl#Installation" target="_blank">http://wiki.freeswitch.org/wiki/Esl#Installation</a>?<br>
> Please mention at which steps you're seeing an error.<br>
> Regards<br>
> HASSAN<br>
><br>
><br>
> On Wed, Aug 25, 2010 at 05:42, jesse <<a href="mailto:chat2jesse@gmail.com">chat2jesse@gmail.com</a>> wrote:<br>
>><br>
>> the wiki page <a href="http://wiki.freeswitch.org/wiki/Mod_php" target="_blank">http://wiki.freeswitch.org/wiki/Mod_php</a> says :<br>
>><br>
>> At some point before July 8, 2009, mod_php was removed from the trunk.<br>
>> There don't appear to be any concrete plans to reintroduce mod_php, so<br>
>> if you'd like to use PHP with FreeSWITCH, use the PHP Event Socket or<br>
>> the PHP ESL library.<br>
>><br>
>><br>
>> On Mon, Aug 23, 2010 at 4:41 PM, Anthony Minessale<br>
>> <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>> > We never have had PHP in our code distribution.<br>
>> ><br>
>> ><br>
>> > On Mon, Aug 23, 2010 at 4:39 PM, jesse <<a href="mailto:chat2jesse@gmail.com">chat2jesse@gmail.com</a>> wrote:<br>
>> >> The current FS version doesn't include source code for PHP.<br>
>> >> What are the steps to install it on top of my current version? where<br>
>> >> to get the source? how to build and install?<br>
>> >><br>
>> >> Iif you guys want to keep the new system slim by get rid of PHP,<br>
>> >> please at least keep a doc about how to add it in case of need.<br>
>> >><br>
>> >> thanks!<br>
>> >><br>
>> >> -jesse<br>
>> >><br></div></div></blockquote></div></div>