Created
March 31, 2025 08:04
-
-
Save ashishakya/5ec70e9a88587f3bc1c98de9e0b88827 to your computer and use it in GitHub Desktop.
Elastic Bean Stalk .ebextensions file configuration
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
| packages: | |
| yum: | |
| ImageMagick: [] | |
| ImageMagick-devel: [] | |
| commands: | |
| 01_install_imagickphp: | |
| cwd: /tmp | |
| test: "php -r \"exit(extension_loaded('imagick') ? 1 : 0);\"" | |
| command: | | |
| wget https://pecl.php.net/get/imagick -O imagick \ | |
| && tar xvzf imagick \ | |
| && cd imagick-* \ | |
| && phpize \ | |
| && ./configure \ | |
| && make \ | |
| && make install \ | |
| && echo extension=imagick.so > /etc/php.d/imagick.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment