Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Fatal error: Call to undefined function xmlrpc_encode_request()

    This is an extremely frustrating issue for me. I'm experienced with linux and php but not enough to handle this properly. First I get this error when I try running a script to post to wordpress via xmlrpc on a new server:

    Fatal error: Call to undefined function xmlrpc_encode_request() in /file/path/ at line 17

    And so I immediately think "ok, there's a php extension missing", so after some googling I find that I need to run #yum install php-xmlrpc and unfortunately when I putty in and run that I get:


    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.200p-sf.sonic.net
    * extras: centos.mirror.facebook.net
    * updates: mirror.5ninesolutions.com
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php-xmlrpc available.
    Nothing to do


    So... this is where I'm stuck. Where do I get the package and how do I install it? I'm running Centos 5.

    Any help would be majorly appreciated!

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Quote Originally Posted by jinxuowemeacoke View Post
    This is an extremely frustrating issue for me. I'm experienced with linux and php but not enough to handle this properly. First I get this error when I try running a script to post to wordpress via xmlrpc on a new server:

    Fatal error: Call to undefined function xmlrpc_encode_request() in /file/path/ at line 17

    And so I immediately think "ok, there's a php extension missing", so after some googling I find that I need to run #yum install php-xmlrpc and unfortunately when I putty in and run that I get:


    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.200p-sf.sonic.net
    * extras: centos.mirror.facebook.net
    * updates: mirror.5ninesolutions.com
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php-xmlrpc available.
    Nothing to do


    So... this is where I'm stuck. Where do I get the package and how do I install it? I'm running Centos 5.

    Any help would be majorly appreciated!
    I would guess you don't have the right repo enabled
    Do you have this one enabled? http://www.webtatic.com/packages/php53/
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •