MongoDB + PHP: support for SSL? -
does php client mongodb have support ssl? or there way connect mongodb instance running in ssl?
i see in mongodb docs client list not specify php (this link) curious see if out there have tried or trying , idea of expected release etc.
yes, php driver supports in latest versions. in connection string should able add "ssl" option in following 2 ways:
$m = new mongoclient( 'mongodb://localhost/?ssl=true' );$m = new mongoclient( 'mongodb://localhost', array( 'ssl' => true ) );
Comments
Post a Comment