Score
0
Watch 30 Star 82 Fork 23

swoole / PHP-XC++GPL-3.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
ZendAPI的C++封装库,可以用于快速开发PHP扩展 spread retract

https://wiki.swoole.com/wiki/index/prid-15

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

PHP-X

C++ wrapper for Zend API

PHP-X

Requirements

  • PHP 7.0 or later
  • Linux/MacOS/Windows
  • GCC 4.8 or later

Build libphpx.so

cmake .
make -j 4
sudo make install

Build extension

cd examples/cpp_ext
make 
sudo make install

Load your extension

Edit php.ini, add extension=cpp_ext.so

Run

php echo.php

Comments ( 20 )

Sign in for post a comment

C++
1
https://gitee.com/swoole/PHP-X.git
git@gitee.com:swoole/PHP-X.git
swoole
PHP-X
PHP-X
master

Search