Articles in this section

How do I install a php extension with pecl?

 

  1. Download the pecl bash script specifically created for Upsun environments and put it in your source code.
  2. From then on, you can use the pecl tool to install packages. For example:

    in .platform.app.yaml:
    hooks:
      build: |
        set -e 
        chmod +x pecl 
        pecl install grpc

More info: https://github.com/matthiaz/platformsh-tools#pecl

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.