Page 1 of 1

How to compile xampp for linux with xmlrpc

PostPosted: 26. March 2009 21:35
by cassia.nobre
Hi all,
newbie here!

I've installed xampp-linux-devel-1.7 in Ubuntu 8.10. I need xmlrpc extension that is not enabled on XAMPP by default. I'm new on XAMPP and I found that I must to compile XAMPP --with xmlrpc=[DIR]. Please, someone can help me step-by-step on doing this? I've made many tests and until now is not possible to install xmlrpc. If possible, send me the links for downloading any files that will be necessary.

Thanks and best regards,
Cassia. :mrgreen:

Re: How to compile xampp for linux with xmlrpc

PostPosted: 27. March 2009 13:20
by cassia.nobre
Hi all,
I've found the solution for including xmlrpc, without being necessary to compile xampp for linux, at the following link:

http://moodle.org/mod/forum/discuss.php ... nt=520313l

It is:
======
do the yum install xmlrpc

then copy the xmlrpc.so from
/usr/lib/php/modules/xmlrpc.so
TO
/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so
(or what ever your default extensions directory is.)

Then add the line
extension="xmlrpc.so";
to the /opt/lampp/etc/php.ini
======

Cassia

Re: How to compile xampp for linux with xmlrpc

PostPosted: 23. July 2010 19:22
by frankmail007
Doesn't work for me it shows:
"Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so: undefined symbol: gc_remove_zval_from_buffer in Unknown on line 0"

Re: How to compile xampp for linux with xmlrpc

PostPosted: 02. August 2010 20:34
by jrolloBTSD
I was getting the same error. Then I realized I was using a 64 bit xmlrpc.so. I downloaded the 32 bit version. Now I'm getting a new error.

Code: Select all
PHP Warning:  PHP Startup: UåSèÝ": Unable to initialize module
Module compiled with module API=20020429, 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


Any ideas?

Re: How to compile xampp for linux with xmlrpc

PostPosted: 06. September 2010 13:12
by akinola84
For those of you having errors, be sure that the XMLRPC plugin you are using are for the same PHP version on your machine as it is on XAMPP.

In my own case, I have Apache configure on port 80 for my CentOS 5.3 and it run on PHP 5.2.14 and I had XAMPP configure on port 81 and it run on PHP 5.2.9..........5.2.9 and 5.2.14 are very close. Don't try it with PHP 5.2 and 5.3.

Check your Machine PHP version with "php -v" at command line
You can use "php info" in xampp page to view its php version