{"action":"closed","issue":{"url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/11","labels_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/11/comments","events_url":"https://api.github.com/repos/aerospike/aerospike-client-php/issues/11/events","html_url":"https://github.com/aerospike/aerospike-client-php/issues/11","id":53225394,"number":11,"title":"PHP session handler","user":{"login":"skynet","id":139233,"avatar_url":"https://avatars.githubusercontent.com/u/139233?v=3","gravatar_id":"","url":"https://api.github.com/users/skynet","html_url":"https://github.com/skynet","followers_url":"https://api.github.com/users/skynet/followers","following_url":"https://api.github.com/users/skynet/following{/other_user}","gists_url":"https://api.github.com/users/skynet/gists{/gist_id}","starred_url":"https://api.github.com/users/skynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skynet/subscriptions","organizations_url":"https://api.github.com/users/skynet/orgs","repos_url":"https://api.github.com/users/skynet/repos","events_url":"https://api.github.com/users/skynet/events{/privacy}","received_events_url":"https://api.github.com/users/skynet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aerospike/aerospike-client-php/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-01-01T18:27:26Z","updated_at":"2015-01-29T22:30:21Z","closed_at":"2015-01-29T22:30:21Z","body":"Having PHP set (installed extension with composer) to use aerospike as session handler I get this:\r\n\r\n```\r\nextension=aerospike.so\r\naerospike.udf.lua_system_path=/opt/aerospike/client-php/sys-lua\r\naerospike.udf.lua_user_path=/opt/aerospike/client-php/usr-lua\r\n\r\nsession.save_handler = aerospike\r\nsession.save_path = 127.0.0.1:3000\r\n```\r\n\r\n```\r\nsession_start();\r\n```\r\n\r\n```Fatal error: session_start(): Failed to initialize storage module: aerospike (path: 127.0.0.1:3000)```\r\n\r\nRunning tests shows that aerospike server works:\r\n\r\n```\r\nphp vendor/aerospike/aerospike-client-php/examples/performance/read-write-mix.php\r\nConnecting to the host ≻ [✓]\r\nClear out the record that may exist at test.performance with PK=1 ≻ [✓]\r\nInitialize the record used for the serial put/get performance test ≻ [✓]\r\nRun the mixed read/write performance test ≻ [✓]\r\n100000 serial operations, 90000 reads, 10000 writes (every 10 records)\r\nFailed reads: 0\r\nFailed writes: 0\r\nTotal time: 5.837378978729248s TPS:17130.97613918657\r\n```"}}