RSS

Install libpurple with PHP

03 Apr

libpurple is intended to be the core of an IM program.

This libpurple PHP binding, which defines a set of internal classes, gives a possibility to use aol and icq (oscar), yahoo, msn, jabber, irc and much more protocols directly from PHP. Write your own IM chat client in PHP, as simply as PHP enables it.

Download latest version of “phurple” from here

http://sourceforge.net/projects/phurple/
# yum install pidgin
# yum install libpurple-devel
# wget http://nchc.dl.sourceforge.net/project/phurple/phurple/phpurple-0.4.0-alpha/phurple-0.4.0-alpha.tar.bz2
# bunzip2 phurple-0.4.0-alpha.tar.bz2; tar xvf phurple-0.4.0-alpha.tar
# cd phurple-0.4.0-alpha
# phpize && ./configure –enable-phurple && make
# make install

Now we find phurple.so in /usr/lib/php/modules…
Make a phurple.ini in /etc/php.d add extention phurple.so in it 😉

phurple

phurple

Phurple Reference: http://phurple.php.belsky.info/

Advertisements
 

Tags: , , , , , , ,

3 responses to “Install libpurple with PHP

  1. blog.svnlabs.com

    October 12, 2010 at 5:55 am

    Tank you. Greetings from the Speedy DNS

     
  2. jag

    March 9, 2011 at 3:28 am

    When i try to config/make phurple i get lots of errors in phurple.c (exess elements in scalar initializer) and then finally errors out on make: *** [phurple.lo] Error 1

    Any way to get around this? (im on centos 5 64-bit)

     
  3. jag

    March 9, 2011 at 3:30 am

    i can’t config/make… i get errors that ultimately cause it to fail make: *** [phurple.lo] Error 1
    All kinds of errors in phurple.c

    Centos 5 64bit… any ideas?

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: