svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongoconnectionexception.xml

From: Date: Mon, 22 Feb 2010 19:29:54 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ mongo/construct.xml mongoconnectionexception.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6116@lists.php.net to get a copy of this message
kristina Mon, 22 Feb 2010 19:29:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295379 Log: timeout option and permission denied error Changed paths: U phpdoc/en/trunk/reference/mongo/mongo/construct.xml U phpdoc/en/trunk/reference/mongo/mongoconnectionexception.xml Modified: phpdoc/en/trunk/reference/mongo/mongo/construct.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2010-02-22 18:08:53 UTC (rev 295378) +++ phpdoc/en/trunk/reference/mongo/mongo/construct.xml 2010-02-22 19:29:54 UTC (rev 295379) @@ -120,6 +120,15 @@ database connection. </para> </listitem> + <listitem> + <para> + <literal>"timeout"</literal> + </para> + <para> + For how long the driver should try to connect to the database (in + milliseconds). + </para> + </listitem> </itemizedlist> </para> </listitem> Modified: phpdoc/en/trunk/reference/mongo/mongoconnectionexception.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongoconnectionexception.xml 2010-02-22 18:08:53 UTC (rev 295378) +++ phpdoc/en/trunk/reference/mongo/mongoconnectionexception.xml 2010-02-22 19:29:54 UTC (rev 295379) @@ -114,6 +114,23 @@ "server" instead of "$server". </para> </listitem> + <listitem> + <para> + <literal>Permission denied</literal> + </para> + <para> + This means that the socket could not be opened due to permissions issues. + On Red Hat variants, this can be caused by a default setting that does not + allow Apache to create network connections. You can override this setting + by running: + <programlisting> +<![CDATA[ +$ /usr/sbin/setsebool -P httpd_can_network_connect 1 +]]> + </programlisting> + then restarting Apache. + </para> + </listitem> </itemizedlist> <para>

« previous php.doc.cvs (#6116) next »