bellangelo/example-pie-extension

Example PIE extension

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Language:C

Type:php-ext

v1.0.8 2025-01-04 03:40 UTC

This package is auto-updated.

Last update: 2025-01-04 03:40:38 UTC


README

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"