Skip to content

Commit 8e91eca

Browse files
authored
Merge pull request #180 from supermetrics-public/chore/WindowsBuildDocumentation
Add link to PHP Extensions Repository for Windows DLLs
2 parents 04b5568 + 1f92254 commit 8e91eca

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ PHP implementations like [this](https://github.com/SoftCreatR/JSONPath), [this](
2222

2323
## Installation
2424

25-
### Option 1: Build using PECL
25+
### Linux and macOS
26+
27+
#### Option 1: Build using PECL
2628

2729
```bash
2830
$ pecl install jsonpath
2931
```
3032

3133
For more instructions on how to use PECL, [see the PECL documentation](https://www.php.net/manual/en/install.pecl.php).
3234

33-
### Option 2: Build manually
35+
#### Option 2: Build manually
3436

3537
Clone this repository to the directory of your choice, then run:
3638

@@ -42,7 +44,7 @@ $ TEST_PHP_ARGS="-q" make test
4244
$ sudo make install
4345
```
4446

45-
### Enable the extension
47+
#### Enable the extension
4648

4749
```bash
4850
$ sudo touch /etc/php.d/jsonpath.ini
@@ -56,6 +58,14 @@ If you're running PHP with the PHP-FPM service, restart it for the changes to ta
5658
$ sudo service php-fpm restart
5759
```
5860

61+
### Windows
62+
63+
For pre-built Windows DLLs, see the [PHP Extensions Repository](https://phpext.phptools.online/extension/tools-and-utilities/jsonpath-308).
64+
65+
Remember to add `extension=jsonpath` to your php.ini in order to enable the extension.
66+
67+
For more instructions on installing PHP extensions, [see the PECL documentation](https://www.php.net/manual/en/install.pecl.windows.php).
68+
5969
## Usage
6070

6171
```php

0 commit comments

Comments
 (0)