panda
panda copied to clipboard
A simple extension for PHP
Develop a simple PHP extension to learn PHP extension development and the PHP kernel (PHP7)
中文文档
Install the extension
- git clone
git clone https://github.com/wujunze/panda - Compilation and installation extension
$ /path/to/phpize
$ ./configure --with-php-config=/path/to/php-config
$ make && make install
- Add at last in php.ini
[panda]
extension = panda.so
- Restart php-fpm
Use the extension
-
View the extensions installed
-
So let's test that out