Not able to install aerospike on centos


OS - Centos 6.3 PHP 5.6.1

Did the following:

sudo yum groupinstall "Development Tools"

sudo yum install openssl-devel

sudo yum install lua-devel

Dowloaded the zip from github.

cd src/aerospike


make test

The output is “You may have found a problem in PHP…”

Output of /var/log/messages

Not dumping repeating crash in /usr/local/bin.php

segfault at 30 ip 00007f88ad4094e3 sp 00007fff591659f0 error 4 in

What could be the reason for this error.



Hey Pushpesh. Did you install the module after calling ./ and before running make test?

At the end of the build you get an instruction block that looks something like this (paths customized to your environment):


⇒  ⇒  ⇒  Installing the Aerospike PHP Extension  ⇐  ⇐  ⇐
To install the extension run inside src/aerospike:
    sudo make install

⇒  ⇒  ⇒  Configure PHP to Load the Extension  ⇐  ⇐  ⇐
Create an aerospike.ini file at  /usr/local/etc/php/5.6/conf.d with the directive:

⇒  ⇒  ⇒  Verify the Extension  ⇐  ⇐  ⇐
    php -m | grep aerospike

Please do a sudo make install and make sure your config file is set. If you have already built a module on that box your interpreter is probably using the older one against the test, rather than the newer build.

Also, if you’ve built on this box already, please remove any older C client SDK rm -rf src/aerospike-client-c. The release may rely on a new version of the C client (see the release notes in the GitHub repo’s Releases) than the one the build script got on a previous run.