XML-RPC in PHP Configuration not found

6 years 11 months ago
Merten GIesen
Posts: 9
More
Topic Author
XML-RPC in PHP Configuration not found #1
Hello,

iam running Joomla 3.2 on an Unix Server (1&1, sharedHosting), PHP 5.4 and MySQL5.
Now trying to install the Moodlebridge, so i had to install the xmlrpc on my Server. Therefore i connected with PUTTY (SSH) to my Server, installed the PEAR and then the XML_RPC Package in my Root (user/.../htdocs/pear/php/XML). Then i tried to cnfigure the Joomla php.ini, so i added the include_path Syntax (include_path=".:/kunden/homepages/.../htdocs/pear/php/XML")

I dont really know what i missed or what went wrong, but in the Joomla Backend (Systemcheck from Joomdle) the XMLRPC failure is still there.

I wrote an phpinfo file to test my php-configuration, but i cant find there anything, dont really know what should there be, when istalling XML-rpc is successfully done. The Only hint to xmlrpc is: xmlrpc_error_number 0 and
xmlrpc_errors Off.

Hope anyone has an idea to solve this issue.
Regards Merten

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Antonio Durán
Posts: 7276
More
XML-RPC in PHP Configuration not found #2
XMLRPC is a PHP extension, nothing to do with PEAR.

You should be able to install it via package manager, it should be called php-xmlrpc or something similar.

Please Log in or Create an account to join the conversation.

6 years 11 months ago 6 years 11 months ago by Merten GIesen.
Merten GIesen
Posts: 9
More
Topic Author
XML-RPC in PHP Configuration not found #3
This is called good news and also called bad news. What a pitty for all the time i invested in bringing this PEAR-Thing to run on this Server. Oh my god!

Ok ok, everything is going to be fine (maybe this threat will save a lot of time for next Generation of comming Joomla-Moodlers). So, i have got the Package on my Desktop, before iam now going again the wrong way, i better ask directly: What do you mean with "package manager" - Should i install it with the ssh or is there any other way?

Thanks a lot already, i think i forgot to say this at the beginning of this posting.

-m-

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Antonio Durán
Posts: 7276
More
XML-RPC in PHP Configuration not found #4
I am sorry to know about all the time wasted.

As for package manager, I mean the distro's package manager. As you were using ssh I assumed you were connecting to a linux box.
Depending on the distro, you could install it with something like:
# apt-get install php5-xmlrpc (Debian based systems, like Ubuntu)
# yum install php-xmlrpc (Red Hat, Centos, etc)

Please Log in or Create an account to join the conversation.

6 years 11 months ago 6 years 11 months ago by Merten GIesen.
Merten GIesen
Posts: 9
More
Topic Author
XML-RPC in PHP Configuration not found #5
Now i've installed the xmlrpc-epi-0.54.2 Package with the linux Shell (configure, make, make install). The lib is now in my root (kunden/.../htdocs/xmlrpc/), the Joomla-Installation is in kunden/.../htdocs/joomla/

what do i have to do next, because joomla is still showing the failure in the systemcheck. Do i have to call the xmlrpc files via php.ini?

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Antonio Durán
Posts: 7276
More
XML-RPC in PHP Configuration not found #6
I told you to use package manager, not compile your own things!

Also, that is not what you need. You need php-xmlrpc.

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Merten GIesen
Posts: 9
More
Topic Author
XML-RPC in PHP Configuration not found #7
www.joomdle.com/wiki/Prerequisites k

In your Wiki the Package for the xmlrpc i need is also told xmlrpc-epi-0.51, therefore i thought, this would be the right one. Also i followed the usage-instruction in this package. :- (

I never compiled anything before, also i never used a package Manager before, all i know is, that 'yum' is not known in my Linux Shell (ssh) and i dont have the root permission to install via apt-get.


Okay, next trie. I found this package:
gggeek.github.io/phpxmlrpc/ k
Is this the right one? If yes, maybe you can add this link to your wiki.

Next Step, according that this is the right package, is there any possibility to install it without apt-get, aptitude, yum,... Is it possible to install it on a shared Hosting Webserver, or do need root access to the Server?

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Antonio Durán
Posts: 7276
More
XML-RPC in PHP Configuration not found #8
I don't see anything about xmlrpc-epi in our Prerequisites page....

I assumed you had a dedicated server. If it is managed, you should ask hosting company to install php-xmlpc for you.


That package you link to is not he right one.

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Merten GIesen
Posts: 9
More
Topic Author
XML-RPC in PHP Configuration not found #9
Have a look at me screeshot from your prerequisites page.

Thank you for the hint with the Hosting Company. Maybe you can give me a link to the right package?
Attachments:

Please Log in or Create an account to join the conversation.

6 years 11 months ago
Antonio Durán
Posts: 7276
More
XML-RPC in PHP Configuration not found #10
Thanks for the pic. I was searching the page for "epi", but as it was a image I could not find it.

Anyway, what you need to install is this:
www.php.net/manual/en/book.xmlrpc.php k

If it is a hosted server, most probably you will need to contact your hosting providet to install/enable it for you.

Please Log in or Create an account to join the conversation.