Learn how to add non-standard PHP extensions to your pod. Most extensions can be installed without additional configurations. However, some extensions (e.g. oci8) require additional libraries be installed and configured.
Operating System: Any
Applies To: Faculty or Staff using WebApps
Last Reviewed: October 2, 2019
A library is a collection of PHP classes (native PHP code) which solve generic tasks such as building HTML forms and sending emails. PHP libraries are usually fairly easy to install and use. Examples of PHP libraries include:
1. Add a composer.json file to your repository using the following structure. You will need to replace the items enclosed in "< >" with the appropriate values.
2. Follow the steps for How to create a new pod (aka container).
The following composer.json file will cause your pod to install any 2.x version of the phpseclib library: