SeeeD Posted October 27, 2009 Share Posted October 27, 2009 Hello everybody... I am frustrated. I am trying to install moodle to a webserver and there is problem after problem. Now moodle asks me to activate the php_extension xml rpc. I did not have a clue what that is, actually I'm not quite smarter now. Still I have to activate it. I asked the support crew of my provider and they told me I can "configurate the server using a php.ini file". Well... That is usefull... But I do not know the value I have to put in the php.ini to enable xml rpc. Please someone help me :-\ Regards, SeeeD Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/ Share on other sites More sharing options...
Daniel0 Posted October 27, 2009 Share Posted October 27, 2009 You need to put extension=path where path is the path the path to the extension you wish to load. You can also just uncomment the line that probably already exists in your php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945468 Share on other sites More sharing options...
SeeeD Posted October 27, 2009 Author Share Posted October 27, 2009 hmm... That sounds good. There is one problem. I cannot access the actual php.ini of my webserver... My provider only grants me the right to overrule the standart server settings by putting a php.ini in my root folder. So... Isn't there something like: xml_rpc = on that would be cool. Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945475 Share on other sites More sharing options...
Daniel0 Posted October 27, 2009 Share Posted October 27, 2009 Something like this should do it: extension=php_xmlrpc.so (or .dll if it's a Windows box) This assumes that php_xmlrpc.so is in the directory specified by the extension_dir directive. Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945480 Share on other sites More sharing options...
Maq Posted October 27, 2009 Share Posted October 27, 2009 Don't forget to restart your web server after you make the change to the .ini file. Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945495 Share on other sites More sharing options...
SeeeD Posted October 27, 2009 Author Share Posted October 27, 2009 How do I restart my webserver from 1&1? Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945523 Share on other sites More sharing options...
Daniel0 Posted October 27, 2009 Share Posted October 27, 2009 If you're running PHP as (Fast)CGI you won't need to restart, but if you're running as an Apache module you have to (but you probably can't on shared hosting). I would say that your best bet is to convince your host to install that extension, or get a VPS if you have special needs. Shared hosting is rarely very good if you need a custom setup. Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945530 Share on other sites More sharing options...
SeeeD Posted October 27, 2009 Author Share Posted October 27, 2009 hmmm... I guess that is..... not good :-\ Quote Link to comment https://forums.phpfreaks.com/topic/179197-activating-xml-rpc-using-a-phpini/#findComment-945562 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.