php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60356 PHP Startup: amqp: Unable to initialize module
Submitted: 2011-11-22 09:23 UTC Modified: 2011-11-23 02:51 UTC
From: admin at indang dot net Assigned:
Status: Not a bug Package: amqp (PECL)
PHP Version: 5.3.8 OS: CentOS-6.0-i386
Private report: No CVE-ID: None
 [2011-11-22 09:23 UTC] admin at indang dot net
Description:
------------
when I install the amqp php extension and restart the php-fpm, I get a warning:

/etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm PHP Warning:  PHP Startup: amqp: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
 done

other info:
uname -a
Linux 2.6.32-71.29.1.el6.i686 #1 SMP Mon Jun 27 18:07:00 BST 2011 i686 i686 i386 GNU/Linux

rabbitmq-server-2.7.0-1.noarch.rpm

rabbitmq-c-7cecf64752fd

amqp-0.3.1.tgz

php-5.3.8.tar.gz


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-23 02:51 UTC] yohgaki@php.net
This isn't a bug.
You need module that matches your PHP's API version.

Recompile your module with your PHP's build file.
Please ask help in ML or else, if you need.
 [2011-11-23 02:51 UTC] yohgaki@php.net
-Status: Open +Status: Bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC