Last active
January 20, 2017 09:59
-
-
Save kaibosh/816a911a183a8028b5eb16de3fe871f5 to your computer and use it in GitHub Desktop.
php-yenc for fedora - compile howto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnf groupinstall "Development Tools" "C Development Tools and Libraries" | |
dnf install gcc re2c php-devel pcre-devel | |
mkdir tmpdir # where ever you like | |
cd tmpdir | |
git clone https://github.com/phalcon/zephir | |
cd zephir | |
./install -c # calls sudo | |
zephir help # tests zephir install | |
cd .. # leave zephir dir | |
wget https://github.com/niel/php-yenc/archive/v1.2.2.tar.gz | |
tar -xzvf v* | |
cd php* | |
zephir build # calls sudo and installs into the modules dir | |
vi /etc/php.ini # search for extension= | |
extension=/usr/lib64/php/modules/yenc.so | |
php -m | grep yenc # you should see yenc | |
systemctl restart httpd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment