Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.78 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.78 KB

Example PIE extension

This an example PHP module that can be installed using PIE.

Build it

Linux

The usual process applies...

PHPIZE=/usr/bin/phpize7.1
PHP_CONFIG=/usr/bin/php-config7.1
make clean
$PHPIZE --clean
$PHPIZE --force
./configure --enable-example-pie-extension --with-php-config=$PHP_CONFIG
make
make test

Windows

Prepare Windows build environment:

Compile the extension

phpize
configure --enable-example-pie-extension --enable-debug --with-php-build="C:\php-sdk\phpdev\vs16\x64\deps" --with-prefix="C:\php\"
nmake
nmake run ARGS="-m"