svn: /phpdoc/ doc-base/trunk/entities/global.ent en/trunk/reference/pdo_mysql/configure.xml en/trunk/reference/pdo_mysql/constants.xml
| From: | Philip Olson | Date: | Tue, 28 Feb 2012 03:48:25 +0000 |
| Subject: | svn: /phpdoc/ doc-base/trunk/entities/global.ent en/trunk/reference/pdo_mysql/configure.xml en/trunk/reference/pdo_mysql/constants.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9690@lists.php.net to get a copy of this message | ||
philip Tue, 28 Feb 2012 03:48:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323614
Log:
Completed PDO_MySQL+SSL documentation, as per PHP Bug #61158
Bug: https://bugs.php.net/61158 (Assigned) Missing MySQL
(PDO) options
Changed paths:
U phpdoc/doc-base/trunk/entities/global.ent
U phpdoc/en/trunk/reference/pdo_mysql/configure.xml
U phpdoc/en/trunk/reference/pdo_mysql/constants.xml
Modified: phpdoc/doc-base/trunk/entities/global.ent
===================================================================
--- phpdoc/doc-base/trunk/entities/global.ent 2012-02-28 02:54:39 UTC (rev 323613)
+++ phpdoc/doc-base/trunk/entities/global.ent 2012-02-28 03:48:25 UTC (rev 323614)
@@ -355,6 +355,8 @@
<!ENTITY url.mysql.docs.error "http://dev.mysql.com/doc/mysql/en/error-handling.html">
<!ENTITY url.mysql.docs.error.msg "http://dev.mysql.com/doc/mysql/en/error-handling.html">
<!ENTITY url.mysql.docs.refresh "http://dev.mysql.com/doc/mysql/en/mysql-refresh.html">
+<!ENTITY url.mysql.docs.ssl.set "http://dev.mysql.com/doc/mysql/en/mysql-ssl-set.html">
+<!ENTITY url.mysql.docs.ssl.using "http://dev.mysql.com/doc/mysql/en/secure-using-ssl.html">
<!ENTITY url.mysql.docs.replication "http://dev.mysql.com/doc/mysql/en/replication.html">
<!ENTITY url.mysql.example "http://downloads.mysql.com/docs/world.sql.gz">
<!ENTITY url.mysql.charsets "http://dev.mysql.com/doc/mysql/en/charset-charsets.html">
Modified: phpdoc/en/trunk/reference/pdo_mysql/configure.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo_mysql/configure.xml 2012-02-28 02:54:39 UTC (rev 323613)
+++ phpdoc/en/trunk/reference/pdo_mysql/configure.xml 2012-02-28 03:48:25 UTC (rev 323614)
@@ -24,6 +24,13 @@
]]>
</screen>
</para>
+ <para>
+ SSL support is enabled using the appropriate <link
linkend="pdo-mysql.constants">PDO_MySQL constants</link>,
+ which is equivalent to calling the <link
xlink:href="&url.mysql.docs.ssl.set;">MySQL C API function
mysql_ssl_set()</link>.
+ Also, SSL cannot be enabled with <classname>PDO::setAttribute</classname> because the
connection
+ already exists. See also the MySQL documentation about <link
xlink:href="&url.mysql.docs.ssl.using;">connecting to
+ MySQL with SSL</link>.
+ </para>
<table>
<title>&Changelog;</title>
@@ -41,6 +48,18 @@
MySQL client libraries 4.1 and below are no longer supported.
</entry>
</row>
+ <row>
+ <entry>5.3.9</entry>
+ <entry>
+ Added SSL support with mysqlnd and OpenSSL.
+ </entry>
+ </row>
+ <row>
+ <entry>5.3.7</entry>
+ <entry>
+ Added SSL support with libmysql and OpenSSL.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>
Modified: phpdoc/en/trunk/reference/pdo_mysql/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo_mysql/constants.xml 2012-02-28 02:54:39 UTC (rev 323613)
+++ phpdoc/en/trunk/reference/pdo_mysql/constants.xml 2012-02-28 03:48:25 UTC (rev 323614)
@@ -160,6 +160,7 @@
</term>
<listitem>
<para>
+ The file path to the SSL certificate authority.
</para>
<para>
&version.exists.asof; 5.3.7.
@@ -174,6 +175,8 @@
</term>
<listitem>
<para>
+ The file path to the directory that contains the trusted SSL
+ CA certificates, which are stored in PEM format.
</para>
<para>
&version.exists.asof; 5.3.7.
@@ -188,6 +191,7 @@
</term>
<listitem>
<para>
+ The file path to the SSL certificate.
</para>
<para>
&version.exists.asof; 5.3.7.
@@ -202,6 +206,8 @@
</term>
<listitem>
<para>
+ A list of one or more permissible ciphers to use for SSL encryption, in a format
+ understood by OpenSSL. For example:
<literal>DHE-RSA-AES256-SHA:AES128-SHA</literal>
</para>
<para>
&version.exists.asof; 5.3.7.
@@ -216,6 +222,7 @@
</term>
<listitem>
<para>
+ The file path to the SSL key.
</para>
<para>
&version.exists.asof; 5.3.7.