In CentOS 7, how do I install the PHP7 extension protobuf?
I am now installing PHP on my server PROTOBUF installation is not successful!
The extension I'm using is https://github.com/allegro/ph ... ?
Phpize and./configure are all over when compiling and installing, but when it comes to make, an error is made!
Some errors are as follows:
/home/lvyun/php-protobuf/protobuf.c:in function? B_parse_field_value/home/lvyun/php-protobuf/protobuf.c:1004:20:error:lvalue required as leof assignment Z_TYPE_P ( value) = is_double; ^/home/lvyun/php-protobuf/protobuf.c:1009:20:error:lvalue required as leof assignment z_type_p (value) = IS_LONG; ^/home/lvyun/php-protobuf/protobuf.c:1014:20:error:lvalue required as leof assignment z_type_p (value) = Is_long; ^/home/lvyun/php-protobuf/protobuf.c:1019:20:error:lvalue required as leof assignment z_type_p (value) = IS_DOUBLE; ^/home/lvyun/php-protobuf/protobuf.c:1024:20:error:lvalue required as leof assignment Z_type_p (valu e) = Is_long; ^/home/lvyun/php-protobuf/protobuf.c:1029:22:error:?. S_bool?. Undeclause in this function) z_type_p (value) = Is_bool; ^/home/lvyun/php-protobuf/protobuf.c:1034:20:error:lvalue required as leof assignment z_type_p(value) = Is_long;
For advice, what is the reason? is the extended version not keeping up? Or is it because there is no dependency and no installation?
If this expansion pack cannot be installed on PHP7, what extensions can I install?
Reply content:
In CentOS 7, how do I install the PHP7 extension protobuf?
I am now installing PHP on my server PROTOBUF installation is not successful!
The extension I'm using is https://github.com/allegro/ph ... ?
Phpize and./configure are all over when compiling and installing, but when it comes to make, an error is made!
Some errors are as follows:
/home/lvyun/php-protobuf/protobuf.c:in function? B_parse_field_value/home/lvyun/php-protobuf/protobuf.c:1004:20:error:lvalue required as leof assignment Z_TYPE_P ( value) = is_double; ^/home/lvyun/php-protobuf/protobuf.c:1009:20:error:lvalue required as leof assignment z_type_p (value) = IS_LONG; ^/home/lvyun/php-protobuf/protobuf.c:1014:20:error:lvalue required as leof assignment z_type_p (value) = Is_long; ^/home/lvyun/php-protobuf/protobuf.c:1019:20:error:lvalue required as leof assignment z_type_p (value) = IS_DOUBLE; ^/home/lvyun/php-protobuf/protobuf.c:1024:20:error:lvalue required as leof assignment Z_type_p (valu e) = Is_long; ^/home/lvyun/php-protobuf/protobuf.c:1029:22:error:?. S_bool?. Undeclause in this function) z_type_p (value) = Is_bool; ^/home/lvyun/php-protobuf/protobuf.c:1034:20:error:lvalue required as leof assignment z_type_p(value) = Is_long;
For advice, what is the reason? is the extended version not keeping up? Or is it because there is no dependency and no installation?
If this expansion pack cannot be installed on PHP7, what extensions can I install?
Https://github.com/google/pro ...
Is it okay to use the official library directly?