Skip to content

Commit 35f09fd

Browse files
authored
Merge pull request #121 from maxmind/greg/pecl-doc
Explain how to install the extension from pecl
2 parents 6e6a357 + cd2a4d0 commit 35f09fd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,15 @@ you are using an autoloader, no changes to your code should be necessary.
113113
First install [libmaxminddb](https://github.com/maxmind/libmaxminddb) as
114114
described in its [README.md
115115
file](https://github.com/maxmind/libmaxminddb/blob/main/README.md#installing-from-a-tarball).
116-
After successfully installing libmaxmindb, run the following commands from the
117-
top-level directory of this distribution:
116+
After successfully installing libmaxmindb, you may install the extension
117+
from [pecl](https://pecl.php.net/package/maxminddb):
118+
119+
```
120+
pecl install maxminddb
121+
```
122+
123+
Alternatively, you may install it from the source. To do so, run the following
124+
commands from the top-level directory of this distribution:
118125

119126
```
120127
cd ext

0 commit comments

Comments
 (0)