diff --git a/scripts/features/mongodb.sh b/scripts/features/mongodb.sh index 36759d96c..472316189 100755 --- a/scripts/features/mongodb.sh +++ b/scripts/features/mongodb.sh @@ -44,19 +44,6 @@ sudo mv /tmp/mongo-php-driver /usr/src/mongo-php-driver cd /usr/src/mongo-php-driver git submodule -q update --init -if [ -f /home/$WSL_USER_NAME/.homestead-features/php80 ] -then - phpize8.0 - ./configure --with-php-config=/usr/bin/php-config8.0 > /dev/null - make clean > /dev/null - make >/dev/null 2>&1 - sudo make install - sudo bash -c "echo 'extension=mongodb.so' > /etc/php/8.0/mods-available/mongo.ini" - sudo ln -s /etc/php/8.0/mods-available/mongo.ini /etc/php/8.0/cli/conf.d/20-mongo.ini - sudo ln -s /etc/php/8.0/mods-available/mongo.ini /etc/php/8.0/fpm/conf.d/20-mongo.ini - sudo service php8.0-fpm restart -fi - if [ -f /home/$WSL_USER_NAME/.homestead-features/php81 ] then phpize8.1