Skip to content

PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' #1565

Discussion options

You must be logged in to vote

@kjon-life

The file openssl.so is not there as the openssl extension is compiled statically into php.
You have an ini entry to load openssl.so, which should not be there.

Please run the following command to check this

grep -r extension.*=.*openssl $(brew --prefix)/etc/php/8.1

Then comment out any lines with extension=openssl in the ini files that are uncommented by prefixing the line with a ;.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kjon-life
Comment options

Answer selected by kjon-life
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants