PHP Startup: Unable to load dynamic library 'sodium.so'

Solution Verified - Updated -

Issue

  • Warnings are displayed that do not allow progress with the installation of an application in the production environment:

    NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib64/php/modules/sodium.so (/usr/lib64/php/modules/sodium.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/sodium.so.so (/usr/lib64/php/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content