Skip to content

Commit ae02dc5

Browse files
Documenting to add pkgconf before installing mongodb driver
1 parent 141a7c1 commit ae02dc5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/30-quick-start.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ composer create-project symfony/skeleton rentals
1818

1919
<Tabs>
2020
<TabItem value="Mac">
21+
With MacOS, users will need to make sure to install pkgconf from homebrew as mentioned [here](https://formulae.brew.sh/formula/pkgconf) using the command
22+
2123
```shell
22-
cd rentals
23-
## Compile the PHP code on MacOS using openssl
24-
brew install openssl
25-
export OPENSSL_DIR=$(brew --prefix openssl)
26-
export LDFLAGS="-L$OPENSSL_DIR/lib"
27-
export CPPFLAGS="-I$OPENSSL_DIR/include"
28-
export PKG_CONFIG_PATH="$OPENSSL_DIR/lib/pkgconfig"
24+
brew install pkgconf
25+
```
26+
Once installed, you can start with mongodb driver installation for PHP
2927

28+
```shell
29+
cd rentals
3030
pecl install mongodb
3131
```
3232
Verify the `php.ini` file to point to the installed `mongodb.so`.

0 commit comments

Comments
 (0)