C++ wrapper for Zend API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
console sync Sep 14, 2018
examples 兼容 PHP7.2 Dec 18, 2017
include 自动填充内容 Aug 24, 2018
script 更新流程 Aug 28, 2018
src 添加 php::define 函数 Mar 29, 2018
.gitignore update phpx tool Aug 24, 2018
.travis.yml 修复编译错误 Dec 25, 2017
CMakeLists.txt 更新流程 Aug 28, 2018
LICENSE Initial commit May 18, 2017
README.md Update README.md Aug 28, 2018
build.sh 更新流程 Aug 28, 2018
logo.png added logo.png Jun 10, 2017
phpinfo.php add phpinfo page. May 18, 2017

README.md

PHP-X

Build Status License

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