Created
March 6, 2016 13:09
-
-
Save michael34435/c682271492a03f0af686 to your computer and use it in GitHub Desktop.
phalcon in php7 install script(tested by centos 7)
This file contains hidden or 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
rpm -Uvh http://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm | |
yum-config-manager --enable remi | |
yum-config-manager --enable remi-php70 | |
yum update | |
yum install -y make gcc re2c file git | |
yum install -y --enablerepo=remi-php70 --skip-broken php php-devel php-common php-pdo php-mbstring php-xml | |
yum remove -y php-pecl-igbinary | |
yum remove -y php-pecl-memcache | |
git clone https://github.com/phalcon/zephir.git | |
find zephir -type f -print0 | xargs -0 sed -i 's/sudo //g' | |
cd zephir | |
./install -c | |
cd .. | |
git clone https://github.com/phalcon/cphalcon.git | |
cd cphalcon | |
git checkout 2.1.x | |
zephir fullclean | |
zephir build --backend=ZendEngine3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe you need to update script, I tried this on centos7 but not working, most of the packages already moved 404