Last active
October 19, 2020 17:20
-
-
Save xaoc-303/40acc39a96d2ef45374c242720451572 to your computer and use it in GitHub Desktop.
php yaml-ext
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
| # Problem: The requested PHP extension ext-yaml * is missing from your system. Install or enable PHP's yaml extension. | |
| sudo apt-get -y install gcc make autoconf libc-dev pkg-config | |
| sudo apt-get -y install libyaml-dev | |
| sudo apt-get -y install php-pear php7.3-yaml | |
| sudo pecl install yaml | |
| sudo touch /etc/php/7.3/cli/conf.d/20-yaml.ini | |
| sudo touch /etc/php/7.3/fpm/conf.d/20-yaml.ini | |
| sudo bash -c "echo extension=yaml.so > /etc/php/7.3/cli/conf.d/20-yaml.ini" | |
| sudo bash -c "echo extension=yaml.so > /etc/php/7.3/fpm/conf.d/20-yaml.ini" | |
| sudo service php7.3-fpm restart | |
| php7.3 -i | grep yaml | |
| composer install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment