mongodb error

zenlabs-interns
FREEOP

6 months ago

[2/9] RUN apt-get update && apt-get install -y libpq-dev libzip-dev unzip git curl libpng-dev libjpeg-dev libfreetype6-dev nodejs npm && docker-php-ext-install pdo pdo_mysql zip gd && pecl install mongodb-1.21 && docker-php-ext-enable mongodb

process "/bin/sh -c apt-get update && apt-get install -y libpq-dev libzip-dev unzip git curl libpng-dev libjpeg-dev libfreetype6-dev nodejs npm && docker-php-ext-install pdo pdo_mysql zip gd && pecl install mongodb-1.21 && docker-php-ext-enable mongodb" did not complete successfully: exit code: 1

$10 Bounty

1 Replies

idiegea21
HOBBY

5 months ago

This likekly happens because either

  • Required build tools like php-dev or gcc or make were missing or

  • mongodb-1.21 is not compactabile with your php version

Install those tools first then run pecl install mongodb without specifying the version so it picks the best match


Loading...
mongodb error - Railway Help Station