Forums | Mahara Community
Support
/
Help installing xmlrpc extension on hosted server
26 April 2010, 9:38
Hello Everyone,
I've been searching for over a week now how to install the xmlrpc extension on my hosted server. I've contacted the host but I can't follow their instructions. I think they are more interested in me upgrading to a dedicated server than solving this problem for me.
Anyway if any of you could help me out with the line of code I need to add to my custom php.ini file to install the extension I will be extremely grateful. So far I've tried:
extensions=php_xmlrpc
and
extension=php_xmlrpc.dll
and
apt-get install php5-xmlrpc
and
yum install php-xmlrp
and
--with-xmlrpc
and a few others with no success. My lack of knowledge in this area might appear shocking to the seasoned php programmer but I am trying to learn .
Many thanks in advance.
26 April 2010, 10:51
What are they telling you that you should do?
You are using several different methods for sure but they are different methods used for different systems.
Eg:
apt-get (Used in Debian/Ubuntu/Mint etc)
yum (Tool used in Red Hat/Centos/Fedora etc)
If the module is already installed you should be able to uncomment it in your php.ini (remove the # in front of the xmlrpc entry that *should* already be there).
Again we are back to different systems..
extension=php_xmlrpc.dll
*.dll indicates a Windows environment.
--with-xmlrpc
..suggests you are building php from it's source code (not using apt or yum)
Before anyone can really help you'll need to tell us:
- Which Operating System you are on?
- What have the hosts instructed you to do?
27 April 2010, 5:16
Thanks for your reply Gary. My website is hosted on a Linux server. Here is a copy of the email sent to me from my hosting company:
Dear Marlon Higgins, (Customer ID: xxxxxxx)
Thank you for contacting us.
If you can check you php version and check on the module that was
installed, noticed that xmlrpc are available and if you wish to make
some changes on its settings, you can just place the directives/code
inside php.ini that needs to be placed in a particular directory. To see
how the directive or code should looks like, you can make some further
research by searching it from the web. As have further checked we are
able to find the code below which shows to be the directive that
activates xmlrpc. Hope you find it useful.
extension=php_xmlrpc.dll
If you have any further questions please do not hesitate to contact us.
--
Sincerely,
Alvin Wagas
Technical Support
1&1 Internet Limited
� Registered at Cardiff, Company number 3953678 - VAT No GB 752539027
Aquasulis House, 10-14 Bath Road, Slough, Berkshire, SL1 3SA, United
Kingdom
> MailType=Form-Mail
> MailTypeFlag=Begin
> KundeID=xxxxxxx
> VertragID=xxxxxx
> TopicPath=uktechnical;beginner
> MailTypeFlag=End
>
> text=
> Hello,
>
> I need assistance installing the xmlrpc extension. As I don't have
direct access to the server this seems to be a more complex task. I was
previously told by one of your team to create a php.ini file and upload
it to the relevant folder to install the extension but so far I have
been unsuccessful. Would you please be able to assist further, perhaps
in less-tech language so that I can follow? Alternatively is it possible
for you to install the xmlrpc extension if I am unable to do so? I
notice that some hosting companies either already have this extension
installed or make it very easy to install.
>
> I would very much appreciate your further help with this matter
because at the moment I am unable to do the work I need to.
>
> Thanks in advance.
>
Perhaps this makes sense to you Gary, if so could you please interpret
for me? So far you are my best lifeline with this problem and I appreciate
your assistance.
Many thanks.
27 April 2010, 7:10
Sorry mate but that so called "Technical Support" is pretty dire.
If he'd looked at his own support manual he'd find this:
http://faq.1and1.com/scripting_languages_supported/php/14.html
He wants you to check php version.
He wants you to identify the "particular directory".
He doesn't realise that you are on a Linux machine and he's sent you .dll inclusion info for IIS (Windows).
Ok,
Create a file in a text editor with these contents (make sure no spaces/returns before/after)
<?php
phpinfo();
?>
Save it as "phpinfo.php"
Upload it (ftp etc) to the root of your account folder.
Load it in a browser and it should tell you all the current info about the php you are running.
27 April 2010, 7:23
Not being funny but perhaps you should think about a new host.
You can rent VPS (Virtual Machines) that you have full control over that you only have to pay for for as long as you use them (1 Month at a time for example) for not too much money. Ideal for development.
ALl depends on your budget and/or timescale and whether or not you want to then move Mahara into a full production environment.
27 April 2010, 7:46
Thanks again Gary. To be honest I am currently thinking of changing hosts and possibly switching to a dedicated server. My current host is not always brilliant with any questions which are slightly technical! Needless to say they have left me quite frustrated lately with this xmlrpc extension issue.
Anyway, my php version is 5.2.13.
Thanks.