R
Railway

✋|help

Does anyone know how to enable mongoDB drivers in a php/laravel project?

HHamletS9/1/2023
Y tried to added with this command in the env tab
NIXPACKS_PKGS=php81Extensions.mongodb
But it still not working...
HHamletS9/1/2023
Project ID: 4750e14a-f0df-4508-aa7c-2f54848edb7f
Bbrody1929/1/2023
@interstellartaco another thing for you
cant you install the driver by putting it in the compose file?
HHamletS9/1/2023
I'm not really sure now, yesterday I was trying by all the ways.
I'm doing the next steps:
1: required by composer
2: download it with the NIXPACKS_PKGS
3: run composer install && composer update in the building part

But here is where it fails, it says mongodb driver isn't loaded in the OS
Bbrody1929/1/2023
use a nixpacks.toml file instead of the variable
Iinterstellartaco9/1/2023
Add "ext-mongodb": "*" to your composer.json's requires.

Looking for more? Join the community!

Recommended Posts
Installing php-gd extensionIs there a way for me to use Nixpacks to install php-gd in the setup stage of the build process. Or bind [::1]:5433: Cannot assign requested addressI'm trying to use an SSH tunnel and need to bind to my local port 5433 but keep getting this error. charged for hobby plan ?I have been charged 5 dollars for the hobby plan whilst my usage was below it and every month i had Custom Domain - Waiting for DNS updateI have deployed an app on Railway and set up a custom domain. I've tried to get the custom domain tDeployment has crashed with FileNotFoundError: [Errno 2]Hi. I am have problem with my JSON file. I try to deploy my flask chatbot project the have function nocodb - update failedHi I am testing the railway nocodb hosting, I was informed by the nocodb that there is an update thaDoes waived hobby plan fee expire?I am on hobby plan (previously developer) and I have the hobby plan waived. I would like to confirm Deployment issues in Golang projectProject id : 4e543459-a744-4198-970b-be420281426a I am trying to deploy a go lang application, it's Using a custom domain with cloudflarehi! I'm ready to deploy my project to my domain, and now railway has detected my cname record, but icron job timezoneGreetings! I want to host a script which runs at a certain time relative to my time zone (GMT+3). Whtsc: Permission deniedI just subscribed to the Hobby Plan and am trying to deploy my first backend. It was working fine iPostgres MemoryIt is possible run commands like 'top' or 'pg_top'? I need check memory usage for my Postgres instanUpgrade to pro, how to "redeploy" postgres / redis to take advantage of the PRO infrastructure?I understand how to re-deploy my app to take advantage of the PRO infrastructure (after dragging it Railway states that my free trial is over, but I only used 2.5$My Railway deployment was paused, but I didn't use the 5$. Why is that?Sync service hostname to environment variable with VercelIs it possible to take the hostname of a given service and push it into an environment variable on aBot TelegramHi i want to ask if is possible to deploy a telegram bot in railway, because i read that mirrors/use