mongodb error
zenlabs-interns
FREEOP

a year 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

a year 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...