PHP-NEWT

Main | Installation | Documentation | Examples | Download

HOWTO Compile newt extension as a php module

    0. Make sure you have libnewt installed on your system.

    1. Download latest version

    2. tar -xvzf newt-version.tar.gz

    3. cd newt-version

    4. PHPPREFIX=/path/where/is/your/phpize_script

    6. $PHPPREFIX/phpize

    7. ./configure --enable-newt=shared --with-php-config=$PHPPREFIX/php-config

    6. make

    7. make install

    8. edit your php.ini and add: extension="newt.so"

Author: Michael Spector, <michael@zend.com> | Contributor: Franck Tabary (website, doc, example)