Hey Pushpesh. Did you install the module after calling ./build.sh
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:
extension=aerospike.so
aerospike.udf.lua_system_path=/usr/local/aerospike/client-php/sys-lua
aerospike.udf.lua_user_path=/usr/local/aerospike/client-php/usr-lua
⇒ ⇒ ⇒ 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.