33 Star 94 Fork 28

swoole / PHP-X

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
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

About

ZendAPI的C++封装库,可以用于快速开发PHP扩展 expand collapse
Cancel

Releases

No release

PHP-X

Contributors

All

Activities

Load More
can not load any more
C++
1
https://gitee.com/swoole/PHP-X.git
git@gitee.com:swoole/PHP-X.git
swoole
PHP-X
PHP-X
master

Search