Error after MySQL 5.7 upgrade: libmysqlclient.so.18: cannot open shared object file: No such file or directory (Doc ID 2128835.1)

Last updated on SEPTEMBER 13, 2016

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Goal

Why do I get this error after upgrading to MySQL 5.7.12?

httpd: Syntax error on line 70 of /opt/apache/conf/httpd.conf: Cannot load /opt/apache/modules/libphp5.so into server: libmysqlclient.so.18: cannot open shared object file: No such file or directory
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms