Created
November 13, 2023 10:18
-
-
Save vladdancer/642889f53f443260421a2616440ccd80 to your computer and use it in GitHub Desktop.
Install php-spx on lando
This file contains hidden or 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
appserver: | |
build_as_root: | |
- 'mkdir -p /usr/src/php/ext && cd /usr/src/php/ext && git clone https://github.com/NoiseByNorthwest/php-spx.git spx && cd spx/ && git checkout release/latest' | |
- 'cd /usr/src/php/ext/spx && phpize && ./configure' | |
- docker-php-ext-install spx | |
- echo 'spx.http_enabled=1' >> /usr/local/etc/php/conf.d/docker-php-ext-spx.ini | |
- echo 'spx.http_key="dev"' >> /usr/local/etc/php/conf.d/docker-php-ext-spx.ini | |
- echo 'spx.http_ip_whitelist="*"' >> /usr/local/etc/php/conf.d/docker-php-ext-spx.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment