PHP Extensions
Migrating from Heroku and managed to solve my first issue after migration with missing docker files, simply added them from your template for Laravel. Now I'm running into composer failure with PHP extensions
Root composer.json requires PHP extension ext-imagick *
for example. This is how they were defined for Heroku, how do you do this in Railway?9 Replies
Project ID:
N/A
You might find these helpful:
- Migrating From Heroku To Railway
- Railway ignores php version in composer.json
- Customising PHP provider for CraftCMS
⚠️ experimental feature
N/A
What is the Railway equivalent or what am I missing?
GitHub
PHP ext-mongodb doesn't work · Issue #639 · railwayapp/nixpacks
Is there an existing issue for this? I have searched the existing issues Describe the bug In composer.json I added "ext-mongodb": "*" but it doesn't seem...
How do people use Railway with PHP if extensions don't work? What am I missing?
Seems I still can't migrate from Heroku...
Would love to start using Railway if anyone has a solution for this
Seems the extensions do get installed
copying path '/nix/store/vmwv46symgw9vq58c0k1bydirvjp1ing-php-redis-5.3.7'So the problem is rather that composer doesn't recognise it
- Root composer.json requires PHP extension ext-redis * but it is missing from your system. Install or enable PHP's redis extension.