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
# yum install pidgin
# yum install libpurple-devel
# wget
# 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 in /usr/lib/php/modules…
Make a phurple.ini in /etc/php.d add extention in it 😉



Phurple Reference:


Tags: , , , , , , ,

3 responses to “Install libpurple with PHP


    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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: