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
You'll need php-devel and all the headers to build it installed... then try from there. I personally do not like or use PHP so someone that uses and likes it would need to write up some documentation on the wiki. Thanks, Brian On Aug 23, 2010, at 4:39 PM, jesse 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
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod" If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org and let us know the pastebin link. Regards HASSAN On Wed, Aug 25, 2010 at 06:07, jesse <chat2jesse@gmail.com> wrote:
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
HASSAN: my pasted error message in the previous e-mail was generated from : make phpmod-install. -jesse On Tue, Aug 24, 2010 at 6:12 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod" If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org and let us know the pastebin link. Regards HASSAN
On Wed, Aug 25, 2010 at 06:07, jesse <chat2jesse@gmail.com> wrote:
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm not sure if "make phpmod-install" will work. I think you need to do the "make phpmod", and then copy the file to the "ESL.so" file to the php modules folder for you OS. On my RHEL 5.5 i386, it is /usr/lib/php/modules/ESL.so Can you confirm if you see the error with just "make phpmod" as on the wiki? Regards HASSAN On Wed, Aug 25, 2010 at 12:39, jesse <chat2jesse@gmail.com> wrote:
HASSAN:
my pasted error message in the previous e-mail was generated from : make phpmod-install.
-jesse
On Tue, Aug 24, 2010 at 6:12 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod" If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org and let us know the pastebin link. Regards HASSAN
On Wed, Aug 25, 2010 at 06:07, jesse <chat2jesse@gmail.com> wrote:
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 >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I had no issue with make phpmod . the problem is related with sudo make phpmod-install. In another FS server box, my php is working perfect. Foe the the machine whose phpmod didn't work, I am 100% sure the root cause is related with two PHP versions 5.2.4 and 5.3.3. In fact, ESL.so is in /usr/lib/php/modules/ESL.so, however it was compiled with 5.3.3 version PHP and ran in LAMP apache with PHP 5.2.4. I don't know how to enforce the build of ESL.so with PHP 5.2.4....... -jesse On Wed, Aug 25, 2010 at 8:28 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
I'm not sure if "make phpmod-install" will work. I think you need to do the "make phpmod", and then copy the file to the "ESL.so" file to the php modules folder for you OS. On my RHEL 5.5 i386, it is /usr/lib/php/modules/ESL.so Can you confirm if you see the error with just "make phpmod" as on the wiki? Regards HASSAN
On Wed, Aug 25, 2010 at 12:39, jesse <chat2jesse@gmail.com> wrote:
HASSAN:
my pasted error message in the previous e-mail was generated from : make phpmod-install.
-jesse
On Tue, Aug 24, 2010 at 6:12 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod" If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org and let us know the pastebin link. Regards HASSAN
On Wed, Aug 25, 2010 at 06:07, jesse <chat2jesse@gmail.com> wrote:
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 >>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I think having 2 different versions of PHP5 on the same machine is perhaps the issue you shoud solve. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 26/08/2010 à 07:58, jesse a écrit :
I had no issue with make phpmod . the problem is related with sudo make phpmod-install.
In another FS server box, my php is working perfect. Foe the the machine whose phpmod didn't work, I am 100% sure the root cause is related with two PHP versions 5.2.4 and 5.3.3. In fact, ESL.so is in /usr/lib/php/modules/ESL.so, however it was compiled with 5.3.3 version PHP and ran in LAMP apache with PHP 5.2.4.
I don't know how to enforce the build of ESL.so with PHP 5.2.4.......
-jesse
On Wed, Aug 25, 2010 at 8:28 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
I'm not sure if "make phpmod-install" will work. I think you need to do the "make phpmod", and then copy the file to the "ESL.so" file to the php modules folder for you OS. On my RHEL 5.5 i386, it is /usr/lib/php/modules/ESL.so Can you confirm if you see the error with just "make phpmod" as on the wiki? Regards HASSAN
On Wed, Aug 25, 2010 at 12:39, jesse <chat2jesse@gmail.com> wrote:
HASSAN:
my pasted error message in the previous e-mail was generated from : make phpmod-install.
-jesse
On Tue, Aug 24, 2010 at 6:12 PM, Nyamul Hassan <mnhassan@usa.net> wrote:
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod" If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org and let us know the pastebin link. Regards HASSAN
On Wed, Aug 25, 2010 at 06:07, jesse <chat2jesse@gmail.com> wrote:
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 >>>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, 25 Aug 2010 07:12:18 +0600, Nyamul Hassan <mnhassan@usa.net> wrote: Thank Hassan, I also think that the best solt; but shall I post the genuine output (without relocating ../src/include/*h into esl/php and tweaking them) that caused a lot of error because apparently they weren't found by the compiler, or my tweaked version output?
* enter the <fs src>/libs/esl directory * run "make" * run "make phpmod"
If you face error in any step above, then please output the "full output" into http://pastebin.freeswitch.org
and let us know the pastebin link.
Regards HASSAN
-- 30 day money back guarantee minus shipping, 10% restocking charge, and 7% cancellation charge.
mod_php != php. PHP was never in tree. Patches to improve the configure detection and installation of all the esl language mods are needed and gladly accepted. Mike On Aug 24, 2010, at 7:42 PM, jesse 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.
Yes, but the original question was about PHP & ESL, so I tried to help him the way I got it working. Regards, HASSAN On 2010-08-25, Michael Jerris <mike@jerris.com> wrote:
mod_php != php. PHP was never in tree. Patches to improve the configure detection and installation of all the esl language mods are needed and gladly accepted.
Mike
On Aug 24, 2010, at 7:42 PM, jesse 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.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
participants (7)
-
Anthony Minessale
-
Brian West
-
David Ponzone
-
Jean-Yves F. Barbier
-
jesse
-
Michael Jerris
-
Nyamul Hassan