-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from wptide/feature/message-providers
Message Providers for MongoDB and Firestore
- Loading branch information
Showing
18 changed files
with
1,399 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
// Install gRPC | ||
sudo apt-get install php-pear \ | ||
&& sudo pecl install grpc \ | ||
&& echo "extension=grpc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
|
||
# Get and make mongodb PHP driver | ||
sudo apt-get install libssl-dev \ | ||
&& git clone https://github.com/mongodb/mongo-php-driver.git --recursive \ | ||
&& cd mongo-php-driver \ | ||
&& phpize \ | ||
&& ./configure --with-mongodb-ssl=openssl \ | ||
&& make all \ | ||
&& make install \ | ||
&& echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` \ | ||
&& cd .. \ | ||
&& rm -rf mongo-php-driver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.