From 70733ff323a453c92b8ca6486d3028dd2686ded8 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 22 Jan 2016 21:47:05 +0000 Subject: [PATCH] Fix
nesting in mongo extension install docs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338534 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/configure.xml | 116 ++++++++++++++++++---------------- 1 file changed, 63 insertions(+), 53 deletions(-) diff --git a/reference/mongo/configure.xml b/reference/mongo/configure.xml index 1d5d6dee5e..dccecc3ee1 100644 --- a/reference/mongo/configure.xml +++ b/reference/mongo/configure.xml @@ -103,6 +103,7 @@ extension=mongo.so +
Installing on *NIX @@ -165,37 +166,41 @@ extension=php_mongo.dll
-
- OS X - - In most cases installing from pecl is the easiest way: - +
+ OS X + + + In most cases installing from pecl is the easiest way: + - - - - If you are using Homebrew, the - PHP tap includes formulae for the driver. For example, you might install the - driver for PHP 5.6 using the following command: - + + + + + If you are using Homebrew, the + PHP tap includes formulae for the driver. For example, you might install the + driver for PHP 5.6 using the following command: + - - - - If you are using XAMPP, note that it - has its own pecl binary and php.ini configuration. You should be able to - install the driver with the following command: - + + + + + If you are using XAMPP, note that it + has its own pecl binary and php.ini configuration. You should be able to + install the driver with the following command: + - - - + + + + Xcode dependency for compiling on OS X Compiling the driver on OS X will require Xcode developer tools, which may @@ -204,25 +209,28 @@ $ sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo Command Line Tools package. -
+
-
- Gentoo - - Gentoo has a package for the PHP PECL driver called dev-php/pecl-mongo, which can be - installed with: - - +
+ Gentoo + + + Gentoo has a package for the PHP PECL driver called dev-php/pecl-mongo, which can be + installed with: + + + - + - - 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. - - + + 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. + + + - -
-
- Red Hat - - This includes Fedora and CentOS. - - - 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: - + +
+ +
+ Red Hat + + + This includes Fedora and CentOS. + + + + 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: + - - Then restart Apache. (This issue has also occurred with SELinux.) - -
+
+ Then restart Apache. (This issue has also occurred with SELinux.) +