asgrim/example-pie-extension

Example PIE extension

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Language:C

Type:php-ext

1.1.0-beta.1 2024-07-25 13:42 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"