{"action":"created","issue":{"url":"https://api.github.com/repos/happyfish100/fastdfs/issues/256","repository_url":"https://api.github.com/repos/happyfish100/fastdfs","labels_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/256/comments","events_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/256/events","html_url":"https://github.com/happyfish100/fastdfs/issues/256","id":391607942,"node_id":"MDU6SXNzdWUzOTE2MDc5NDI=","number":256,"title":"PHP7可以安装fastdfs_client扩展吗？","user":{"login":"mirrorgdit","id":3040282,"node_id":"MDQ6VXNlcjMwNDAyODI=","avatar_url":"https://avatars2.githubusercontent.com/u/3040282?v=4","gravatar_id":"","url":"https://api.github.com/users/mirrorgdit","html_url":"https://github.com/mirrorgdit","followers_url":"https://api.github.com/users/mirrorgdit/followers","following_url":"https://api.github.com/users/mirrorgdit/following{/other_user}","gists_url":"https://api.github.com/users/mirrorgdit/gists{/gist_id}","starred_url":"https://api.github.com/users/mirrorgdit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirrorgdit/subscriptions","organizations_url":"https://api.github.com/users/mirrorgdit/orgs","repos_url":"https://api.github.com/users/mirrorgdit/repos","events_url":"https://api.github.com/users/mirrorgdit/events{/privacy}","received_events_url":"https://api.github.com/users/mirrorgdit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-17T08:41:41Z","updated_at":"2018-12-25T02:15:37Z","closed_at":"2018-12-25T02:15:37Z","author_association":"NONE","body":"我的服务器环境有一个PHP5.4的版本，已经成功安装好fastdfs扩展，也正常在使用，现在服务器多了个PHP7版本，但是安装fastdfs扩展的时候报以下错误：\r\n\r\nroot/FastDFS/php_client/fastdfs_client.c: 在函数‘fastdfs_convert_metadata_to_array’中:\r\n/root/FastDFS/php_client/fastdfs_client.c:225: 错误：传递‘zend_hash_get_current_data_ex’的第 2 个参数时在不兼容的指针类型间转换\r\n/usr/local/php7/include/php/Zend/zend_hash.h:205: 附注：需要类型‘HashPosition *’，但实参的类型为‘void **’\r\n/root/FastDFS/php_client/fastdfs_client.c:225: 错误：提供给函数‘zend_hash_get_current_data_ex’的实参太多"},"comment":{"url":"https://api.github.com/repos/happyfish100/fastdfs/issues/comments/449788265","html_url":"https://github.com/happyfish100/fastdfs/issues/256#issuecomment-449788265","issue_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/256","id":449788265,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTc4ODI2NQ==","user":{"login":"mirrorgdit","id":3040282,"node_id":"MDQ6VXNlcjMwNDAyODI=","avatar_url":"https://avatars2.githubusercontent.com/u/3040282?v=4","gravatar_id":"","url":"https://api.github.com/users/mirrorgdit","html_url":"https://github.com/mirrorgdit","followers_url":"https://api.github.com/users/mirrorgdit/followers","following_url":"https://api.github.com/users/mirrorgdit/following{/other_user}","gists_url":"https://api.github.com/users/mirrorgdit/gists{/gist_id}","starred_url":"https://api.github.com/users/mirrorgdit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirrorgdit/subscriptions","organizations_url":"https://api.github.com/users/mirrorgdit/orgs","repos_url":"https://api.github.com/users/mirrorgdit/repos","events_url":"https://api.github.com/users/mirrorgdit/events{/privacy}","received_events_url":"https://api.github.com/users/mirrorgdit/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T02:15:37Z","updated_at":"2018-12-25T02:15:37Z","author_association":"NONE","body":"> \r\n> \r\n> 需要在php7环境下重新执行 phpize，./configure 等步骤。\r\n> 怀疑是php不同版本部署在同一台机器上，把环境搞乱了。\r\n> 比如，你需要确认 phpize是php7自带的，而不是php5的。\r\n\r\n"}}
{"actor":{"display_login":"mirrorgdit"}}