Jason Corcoran wrote:
> I have a script for updating a dns record when my dynamic ip is reset. Its a php script the requires xmlrpc. I can't for the life of me find where to get the package from (is it a package ?) the site I got the script from dose not contain that much info (i.e. none) and I have asked uncle google.
>> Any ponters (I can down load a python script to do this also if that is a easier installation option).
>On ubuntu you can do this
apt-get install apache2 apache2-common apache2-doc apache2-mpm-prefork
apache2-utils libapr0 libexpat1 ssl-cert
apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev
php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp
php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell
and you have a very comprehensive web server with xmlrpc (then read up
But I think you need php-cli and maybe call your script from a cron job
now and again.
apt-get install php5-cli php5-xmlrpc
should do the trick.
ps this wont work for debian(no php5 AFAIK) and I don't use rpms any more.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!