centos6.8 Start PHP-FPM Error

Source: Internet
Author: User
Tags fpm

Restart PHP-FPM today can not restart, error message is as follows:

[[email protected] ~]#/etc/init.d/php-fpm start
Starting php-fpm/usr/local/php/sbin/php-fpm:error while loading shared libraries:libmysqlclient.so.18:cannot open Sha Red object File:no such file or directory
Failed
Workaround:

[[Email protected]~]# Find/-name ' libmysqlclient.so.18 '
/usr/local/webserver/mysql56/lib/libmysqlclient.so.18

Enter into the/usr/lib64 directory if there is a soft link to the file

[[email protected] lib64]# ls libmysqlclient.so.18
Ls:cannot access libmysqlclient.so.18:no Such file or directory-does not exist

Re-soft Connection:

[Email protected] ~]# ln-s/usr/local/webserver/mysql56/lib/libmysqlclient.so.18/usr/lib64/

[[email protected] ~]#/etc/init.d/php-fpm start
Starting php-fpm Done
It's OK.

This article from "Hisus" blog, declined reprint!

centos6.8 Start PHP-FPM Error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.