I think having 2 different versions of PHP5 on the same machine is perhaps the issue you shoud solve.

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

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