* enter the <fs src>/libs/esl directory
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@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@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@gmail.com> wrote:
>> > We never have had PHP in our code distribution.
>> >
>> >
>> > On Mon, Aug 23, 2010 at 4:39 PM, jesse <chat2jesse@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
>> >>