PEAR_ChannelFile::setPath() – Set the file path for xmlrpc or soap


require_once '/ChannelFile.php';

void PEAR_ChannelFile::setPath ( string $protocol , string|false $path , string|false $mirror = false )


Set the relative location to the channel that should be used to connect to the selected protocol. Defaults are xmlrpc.php for xml-rpc and soap.php for SOAP.


string $protocol

xmlrpc or soap

string|FALSE $path

name of the mirror server, or FALSE for the primary

string|FALSE $mirror

Mirror name or false for primary server.


throws no exceptions thrown


This function can not be called statically.

setName (Previous) Set the socket number (port) that is used to connect to this channel (Next)
Last updated: Tue, 06 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.