Install/enable php intl extension in App Platform

Hello! First of all App Platform is a great product!As i’m testing it, trying to deploy a project that requires php intl extension. I would like to enable it in the php.ini file or install it as mentioned in Q/A: intl extension is not loaded how can i install and enable the intl extension But since no root access given, I was wondering if there’s any other way to accomplish this ? Thank you!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello @oudrhiriouss ,

To install php INTL you would need to use Composer with your app to specify that version.

Something like this should work:

{ “require”: { “ext-intl”: “*” } }

That would be configured in your composer.json file. As we use Heroku build packs typically composer is the recommend route for anything PHP. We also support the composer version 2.0.

You cannot use the App console for this. The local filesystem on the host instances running App Platform containers is ephemeral. When deployments happen or containers are replaced the local disk storage will be LOST and not recoverable.

Hope this helps!

Cheers, Sri Charan