Skip to content

Instantly share code, notes, and snippets.

@tortuetorche
Last active March 12, 2021 12:07
Show Gist options
  • Save tortuetorche/6700217 to your computer and use it in GitHub Desktop.
Save tortuetorche/6700217 to your computer and use it in GitHub Desktop.
Compile and install runkit PHP PECL extension

Install runkit PHP PECL extension

On Ubuntu

sudo apt-get install gcc php-pear php5-dev
cd ~/Downloads
git clone https://github.com/zenovich/runkit.git
cd runkit
sudo pecl install package.xml
sudo sh -c 'echo "extension=runkit.so" >> /etc/php5/mods-available/runkit.ini'
sudo php5enmod runkit
sudo apache2ctl graceful

On Windows

Check this compiled version php_runkit.dll for PHP 5.4.13. Use at your own risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment