PEAR_ChannelFile::setSSL() – Sets whether SSL is used to connect to this channel


require_once '/ChannelFile.php';

void PEAR_ChannelFile::setSSL ( bool $ssl = true , string|false $mirror = false )


This function is used to inform the PEAR installer to use SSL when connecting to this channel server.


boolean $ssl

Determines whether to turn on SSL support or turn it off

string|FALSE $mirror

name of the mirror server, or FALSE for the primary server


throws no exceptions thrown


This function can not be called statically.

set the Channel server (Previous) set the summary of a channel's purpose (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.