PHP-FPM start error: Libgearman.so.8:no such file or directory in Unknown on line 0

Source: Internet
Author: User
Tags fpm

Copy the PHP-FPM program from one server to another after starting the prompt error:

/etc/init.d/php-fpm-5.4 startstarting php-fpm [27-jul-2017 11:31:39] notice:  php message: php warning:  php startup: unable to load  dynamic library  '/usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/gearman.so '  -  libgearman.so.8: cannot open shared object file: no such file  or directory in unknown on line 0 done 

Look at the error message, I can't find libgearman.so.8.

Start is suspected direct copy of the gearman.so extension is not available, download from the Web Gearman recompile:

Download latest Version: $ WG $ tar zxvf gearman-1.1.1.tgz$ cd gearman-1.1.1/$ phpize$./configure--with-php-config=/usr/local/php/bin/ php-config$ make$ make Install

There was an error in the Make process:

Configure:WARNING:You would need re2c 0.13.4 or later if you want to regenerate PHP parsers.checking for gawk ... gawkchec King whether to enable Gearman support ... yes, Sharednot found

Tip need to install Libgearman, here to know where the problem is, direct yum installation Libgearman

Yum install libgearman ....... dependencies resolved==================================================================================== ==================================== package                         Arch                       version                            Repository               size========================================================== ==============================================================installing: libgearman                      x86_64                    1.1.8-2.el6                        epel                     70 kinstalling  for dependencies: boost-system                    x86_64                    1.41.0-28.el6                      base                      26 ktransaction summary========================================================================================================== ==============install       2 package (s) ...                                                                     2/2&NBSP, ..... installed:  libgearman.x86_64 0:1.1.8-2.el6                                                                                           Dependency Installed:   boost-system.x86_64 0:1.41.0-28.el6                                                                                        complete!

Can be installed, directly installed after restarting the PHP-FPM service, no prompt error. Solve.

/etc/init.d/php-fpm-5.4 restartgracefully shutting down php-fpm. Donestarting PHP-FPM Done



PHP-FPM start error: Libgearman.so.8:no such file or directory in Unknown on line 0

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.