[Freeswitch-users] How could install PHP ESL?

jesse chat2jesse at gmail.com
Tue Aug 24 17:07:34 PDT 2010


during installation:

make[1]: Entering directory `/tmp/freeswitch/libs/esl/php'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/freeswitch/libs/esl/php'
make -C php install
PHP Warning:  PHP Startup: ESL: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
make[1]: Entering directory `/tmp/freeswitch/libs/esl/php'
cp ESL.so /usr/lib/php5/20060613
cp ESL.php /usr/share/php

Then when I open the PHP script from browser, I always get

Unable to initialize module Module compiled with module API=20090626,
debug=0, thread-safety=0 PHP compiled with module API=20060613,
debug=0, thread-safety=0 These options need to match in
/usr/share/php/ESL.php on line 23

any one is good at PHP can fix this issue? I guess the root cause is
that I have two PHP installed and my system is totally messed.  I
tried to remove the new php installation, but still the same result.



On Tue, Aug 24, 2010 at 4:56 PM, Nyamul Hassan <mnhassan at usa.net> wrote:
> I got my phpmod installed and working great!  Did you follow:
> http://wiki.freeswitch.org/wiki/Esl#Installation?
> Please mention at which steps you're seeing an error.
> Regards
> HASSAN
>
>
> On Wed, Aug 25, 2010 at 05:42, jesse <chat2jesse at gmail.com> wrote:
>>
>> the wiki page http://wiki.freeswitch.org/wiki/Mod_php says :
>>
>> At some point before July 8, 2009, mod_php was removed from the trunk.
>> There don't appear to be any concrete plans to reintroduce mod_php, so
>> if you'd like to use PHP with FreeSWITCH, use the PHP Event Socket or
>> the PHP ESL library.
>>
>>
>> On Mon, Aug 23, 2010 at 4:41 PM, Anthony Minessale
>> <anthony.minessale at gmail.com> wrote:
>> > We never have had PHP in our code distribution.
>> >
>> >
>> > On Mon, Aug 23, 2010 at 4:39 PM, jesse <chat2jesse at gmail.com> wrote:
>> >> The current FS version doesn't include source code for PHP.
>> >> What are the steps to install it on top of my current version?  where
>> >> to get the source? how to build and install?
>> >>
>> >> Iif you guys want to keep the new system slim by get rid of PHP,
>> >> please at least keep a doc about how to add it in case of need.
>> >>
>> >> thanks!
>> >>
>> >> -jesse
>> >>
>> >> _______________________________________________
>> >> 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
>> >>
>> >
>> >
>> >
>> > --
>> > Anthony Minessale II
>> >
>> > FreeSWITCH http://www.freeswitch.org/
>> > ClueCon http://www.cluecon.com/
>> > Twitter: http://twitter.com/FreeSWITCH_wire
>> >
>> > AIM: anthm
>> > MSN:anthony_minessale at hotmail.com
>> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> > IRC: irc.freenode.net #freeswitch
>> >
>> > FreeSWITCH Developer Conference
>> > sip:888 at conference.freeswitch.org
>> > googletalk:conf+888 at conference.freeswitch.org
>> > pstn:+19193869900
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>
>



More information about the FreeSWITCH-users mailing list