Forked from Tosyn/phalconphp_php7_ubuntu_16_04.sh
Last active
August 1, 2016 23:45
Revisions
-
ahmedash95 revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sudo ln -s /usr/local/bin/vendor/phalcon/devtools/phalcon.php /usr/bin/phalcon # Install phalconphp with php7 sudo git clone https://github.com/phalcon/cphalcon.git -b master --single-branch cd cphalcon/ sudo ~/.composer/vendor/bin/zephir build --backend=ZendEngine3 sudo echo "extension=phalcon.so" >> /etc/php/7.0/fpm/conf.d/20-phalcon.ini -
Tosyn revised this gist
Jul 6, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,7 @@ sudo apt-get install -y php7.0-fpm \ php7.0-intl \ php7.0-pgsql \ php7.0-mbstring \ php7.0-xml \ php-msgpack \ curl \ vim \ -
Tosyn revised this gist
Jun 30, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,7 @@ sudo apt-get install -y php7.0-fpm \ php7.0-intl \ php7.0-pgsql \ php7.0-mbstring \ php-msgpack \ curl \ vim \ wget \ -
Tosyn revised this gist
Jun 30, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,7 @@ sudo apt-get install -y php7.0-fpm \ php7.0-gd \ php7.0-intl \ php7.0-pgsql \ php7.0-mbstring \ curl \ vim \ wget \ -
Tosyn revised this gist
May 9, 2016 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,6 @@ # PhalconPhp with PHP7 installation on ubuntu:16.04 sudo apt-get update sudo apt-get install -y php7.0-fpm \ php7.0-cli \ -
Tosyn revised this gist
May 8, 2016 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,13 +3,12 @@ # PhalconPhp with PHP7 installation on ubuntu:16.04 sudo apt-get update sudo apt-get install -y software-properties-common sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.0-fpm \ php7.0-cli \ php7.0-curl \ php7.0-gd \ @@ -21,7 +20,7 @@ sudo apt-get install -y --allow-unauthenticated \ git # For zephir installtion; the following packages are needed in Ubuntu: sudo apt-get install -y gcc make re2c libpcre3-dev php7.0-dev build-essential php7.0-zip # Install composer sudo curl -sS http://getcomposer.org/installer | php -
Tosyn revised this gist
Apr 19, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -18,10 +18,10 @@ sudo apt-get install -y --allow-unauthenticated \ curl \ vim \ wget \ git # For zephir installtion; the following packages are needed in Ubuntu: sudo apt-get install -y --allow-unauthenticated gcc make re2c libpcre3-dev php7.0-dev build-essential php7.0-zip # Install composer sudo curl -sS http://getcomposer.org/installer | php -
Tosyn revised this gist
Apr 19, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,8 @@ sudo apt-get install -y --allow-unauthenticated \ php7.0-pgsql \ curl \ vim \ wget \ git # For zephir installtion; the following packages are needed in Ubuntu: sudo apt-get install -y --allow-unauthenticated gcc make re2c libpcre3-dev php7.0-dev -
Tosyn revised this gist
Apr 19, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,10 @@ sudo apt-get install -y --allow-unauthenticated \ php7.0-curl \ php7.0-gd \ php7.0-intl \ php7.0-pgsql \ curl \ vim \ wget # For zephir installtion; the following packages are needed in Ubuntu: sudo apt-get install -y --allow-unauthenticated gcc make re2c libpcre3-dev php7.0-dev -
Tosyn revised this gist
Apr 19, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash # PhalconPhp with PHP7 installation on ubuntu:16.04 sudo apt-get update sudo apt-get install -y software-properties-common LC_ALL=en_US.UTF-8 -
Tosyn created this gist
Apr 19, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,47 @@ #!/bin/bash # PhalconPhp with PHP7 Installtion on ubuntu:16.04 sudo apt-get update sudo apt-get install -y software-properties-common LC_ALL=en_US.UTF-8 sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y --allow-unauthenticated \ php7.0-fpm \ php7.0-cli \ php7.0-curl \ php7.0-gd \ php7.0-intl \ php7.0-pgsql # For zephir installtion; the following packages are needed in Ubuntu: sudo apt-get install -y --allow-unauthenticated gcc make re2c libpcre3-dev php7.0-dev # Install composer sudo curl -sS http://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer # Install zephir sudo composer global require "phalcon/zephir:dev-master" # Install phalcon dev tool sudo composer require "phalcon/devtools" -d /usr/local/bin/ sudo ln -s /usr/local/bin/vendor/phalcon/devtools/phalcon.php /usr/bin/phalcon # Install phalconphp with php7 sudo git clone https://github.com/phalcon/cphalcon.git -b 2.1.x --single-branch cd cphalcon/ sudo ~/.composer/vendor/bin/zephir build --backend=ZendEngine3 sudo echo "extension=phalcon.so" >> /etc/php/7.0/fpm/conf.d/20-phalcon.ini sudo echo "extension=phalcon.so" >> /etc/php/7.0/cli/conf.d/20-phalcon.ini # some additional php settings if you care sudo sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php/7.0/cli/php.ini sudo sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php/7.0/fpm/php.ini sudo sed -i "s/memory_limit = 128M/memory_limit = 256M /g" /etc/php/7.0/fpm/php.ini # restart php-fpm sudo service php7.0-fpm restart