svn: /phpdoc/en/trunk/reference/mongo/ configure.xml
| From: | Jeremy Mikola | Date: | Fri, 22 Jan 2016 21:47:05 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ configure.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14009@lists.php.net to get a copy of this message | ||
jmikola Fri, 22 Jan 2016 21:47:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338534
Log:
Fix <section> nesting in mongo extension install docs
Changed paths:
U phpdoc/en/trunk/reference/mongo/configure.xml
Modified: phpdoc/en/trunk/reference/mongo/configure.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/configure.xml 2016-01-22 18:23:19 UTC (rev 338533)
+++ phpdoc/en/trunk/reference/mongo/configure.xml 2016-01-22 21:47:05 UTC (rev 338534)
@@ -103,6 +103,7 @@
</para>
</listitem>
</itemizedlist>
+ </section>
<section xml:id="mongo.installation.nix">
<title>Installing on *NIX</title>
@@ -165,37 +166,41 @@
</note>
</section>
- <section xml:id="mongo.installation.osx">
- <title>OS X</title>
- <para>
- In most cases installing from pecl is the easiest way:
- <programlisting role="shell">
+ <section xml:id="mongo.installation.osx">
+ <title>OS X</title>
+
+ <para>
+ In most cases installing from pecl is the easiest way:
+ <programlisting role="shell">
<![CDATA[
$ sudo pecl install mongo
]]>
- </programlisting>
- </para>
- <para>
- If you are using <link
xlink:href="&url.mac.homebrew;">Homebrew</link>, the
- PHP tap includes formulae for the driver. For example, you might install the
- driver for PHP 5.6 using the following command:
- <programlisting role="shell">
+ </programlisting>
+ </para>
+
+ <para>
+ If you are using <link
xlink:href="&url.mac.homebrew;">Homebrew</link>, the
+ PHP tap includes formulae for the driver. For example, you might install the
+ driver for PHP 5.6 using the following command:
+ <programlisting role="shell">
<![CDATA[
$ brew install php56-mongo
]]>
- </programlisting>
- </para>
- <para>
- If you are using <link xlink:href="&url.xampp;">XAMPP</link>, note
that it
- has its own pecl binary and php.ini configuration. You should be able to
- install the driver with the following command:
- <programlisting role="shell">
+ </programlisting>
+ </para>
+
+ <para>
+ If you are using <link xlink:href="&url.xampp;">XAMPP</link>, note
that it
+ has its own pecl binary and php.ini configuration. You should be able to
+ install the driver with the following command:
+ <programlisting role="shell">
<![CDATA[
$ sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo
]]>
- </programlisting>
- </para>
- <note>
+ </programlisting>
+ </para>
+
+ <note>
<title>Xcode dependency for compiling on OS X</title>
<para>
Compiling the driver on OS X will require Xcode developer tools, which may
@@ -204,25 +209,28 @@
<link xlink:href="&url.apple.clt;">Command Line Tools</link> package.
</para>
</note>
- </section>
+ </section>
- <section xml:id="mongo.installation.gentoo">
- <title>Gentoo</title>
- <para>
- Gentoo has a package for the PHP PECL driver called dev-php/pecl-mongo, which can be
- installed with:
- </para>
- <programlisting role="shell">
+ <section xml:id="mongo.installation.gentoo">
+ <title>Gentoo</title>
+
+ <para>
+ Gentoo has a package for the PHP PECL driver called dev-php/pecl-mongo, which can be
+ installed with:
+ </para>
+
+ <programlisting role="shell">
<![CDATA[
$ sudo emerge -va dev-php/pecl-mongo
]]>
- </programlisting>
+ </programlisting>
- <para>
- If you use PECL, you may get an error that libtool is the wrong version.
- Compiling from source you'll need to run aclocal and autoconf.
- </para>
- <programlisting role="shell">
+ <para>
+ If you use PECL, you may get an error that libtool is the wrong version.
+ Compiling from source you'll need to run aclocal and autoconf.
+ </para>
+
+ <programlisting role="shell">
<![CDATA[
$ phpize
$ aclocal
@@ -231,26 +239,28 @@
$ make
$ sudo make install
]]>
- </programlisting>
- </section>
- <section xml:id="mongo.installation.fedora">
- <title>Red Hat</title>
- <para>
- This includes Fedora and CentOS.
- </para>
- <para>
- The default Apache settings on these systems do not let requests make
- network connections, meaning that the driver will get "Permission denied"
- errors when it tries to connect to the database. If you run into this, try
- running:
- <programlisting role="shell">
+ </programlisting>
+ </section>
+
+ <section xml:id="mongo.installation.fedora">
+ <title>Red Hat</title>
+
+ <para>
+ This includes Fedora and CentOS.
+ </para>
+
+ <para>
+ The default Apache settings on these systems do not let requests make
+ network connections, meaning that the driver will get "Permission denied"
+ errors when it tries to connect to the database. If you run into this, try
+ running:
+ <programlisting role="shell">
<![CDATA[
$ /usr/sbin/setsebool -P httpd_can_network_connect 1
]]>
- </programlisting>
- Then restart Apache. (This issue has also occurred with SELinux.)
- </para>
- </section>
+ </programlisting>
+ Then restart Apache. (This issue has also occurred with SELinux.)
+ </para>
</section>
<section xml:id="mongo.installation.thirdparty">