-
-
Save samyranavela/afc6ef8ee32f5c624dfe825ce5c15ed8 to your computer and use it in GitHub Desktop.
Revisions
-
alexandr-parkhomenko revised this gist
Feb 10, 2022 . 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 @@ -3,7 +3,7 @@ sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxsl # Extension package to add on Ubuntu 18.04 sudo apt-get install libssl-dev # Extension package to add on Ubuntu 20.04 sudo apt install -y pkg-config libssl-dev libsqlite3-dev libbz2-dev libxml2-dev libcurl4-openssl-dev libonig-dev libpq-dev libreadline-dev libxslt1-dev libzip-dev libsodium-dev libwebp-dev # +apxs2 sudo apt-get install apache2-dev -y @@ -36,7 +36,7 @@ phpbrew use php-7.0.8 # For Ubuntu (14.04) and (18.04) phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib # For Ubuntu (20.04) phpbrew ext install gd -- --with-jpeg --with-webp phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap -
alexandr-parkhomenko revised this gist
Aug 19, 2021 . 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 @@ -3,7 +3,7 @@ sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxsl # Extension package to add on Ubuntu 18.04 sudo apt-get install libssl-dev # Extension package to add on Ubuntu 20.04 sudo apt install -y pkg-config libssl-dev libsqlite3-dev libbz2-dev libxml2-dev libcurl4-openssl-dev libonig-dev libpq-dev libreadline-dev libxslt1-dev libzip-dev libsodium-dev # +apxs2 sudo apt-get install apache2-dev -y @@ -43,6 +43,9 @@ phpbrew ext install soap phpbrew ext install iconv phpbrew ext install ldap phpbrew ext install mongodb # Libsodium for PHP8 phpbrew ext install libsodium cp /home/alex/.phpbrew/php/php-8.0.9/lib/php/extensions/no-debug-non-zts-20200930/sodium.so /home/alex/.phpbrew/php/php-8.0.9/lib/php/extensions/no-debug-non-zts-20200930/libsodium.so # Restore permissions (14.04) and (20.04) sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; -
alexandr-parkhomenko revised this gist
Aug 19, 2021 . 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 @@ -36,7 +36,7 @@ phpbrew use php-7.0.8 # For Ubuntu (14.04) and (18.04) phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib # For Ubuntu (20.04) phpbrew ext install gd -- --with-jpeg phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap -
alexandr-parkhomenko revised this gist
Aug 19, 2021 . 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 @@ -36,7 +36,7 @@ phpbrew use php-7.0.8 # For Ubuntu (14.04) and (18.04) phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib # For Ubuntu (20.04) phpbrew ext install gd -- --with-jpeg --with-freetype --with-webp --with-xpm phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap -
alexandr-parkhomenko revised this gist
Aug 19, 2021 . 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 @@ -13,7 +13,7 @@ sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev li # +gd (18.04) sudo apt-get install -y libfreetype6 libfreetype6-dev libpng-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +gd (20.04) sudo apt install -y libpng-dev libjpeg-dev # +opcache (14.04) and (18.04) sudo apt-get install libcurl3-openssl-dev -y -
alexandr-parkhomenko revised this gist
Jan 18, 2021 . 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 @@ -42,6 +42,7 @@ phpbrew ext install xdebug phpbrew ext install soap phpbrew ext install iconv phpbrew ext install ldap phpbrew ext install mongodb # Restore permissions (14.04) and (20.04) sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; -
alexandr-parkhomenko revised this gist
Jan 12, 2021 . 1 changed file with 17 additions and 10 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 @@ -1,7 +1,9 @@ # Extension package to add on Ubuntu 14.04 sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt1-dev autoconf -y # Extension package to add on Ubuntu 18.04 sudo apt-get install libssl-dev # Extension package to add on Ubuntu 20.04 sudo apt install -y pkg-config libssl-dev libsqlite3-dev libbz2-dev libxml2-dev libcurl4-openssl-dev libonig-dev libpq-dev libreadline-dev libxslt1-dev libzip-dev # +apxs2 sudo apt-get install apache2-dev -y @@ -10,14 +12,19 @@ sudo apt-get install apache2-dev -y sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +gd (18.04) sudo apt-get install -y libfreetype6 libfreetype6-dev libpng-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +gd (20.04) sudo aptt install -y libpng-dev # +opcache (14.04) and (18.04) sudo apt-get install libcurl3-openssl-dev -y # +intl (14.04) and (18.04) sudo apt-get install re2c libicu-dev -y # LDAP (14.04) sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ # Reset permission (14.04) and (20.04) sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ # Reset permission (18.04) sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /usr/lib/apache2/modules/ @@ -26,24 +33,24 @@ sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /usr/lib/apache2/modules/ # we use version 7.0.8 only as example, it can be any supported version phpbrew install 7.0.8 +default +apxs2 +intl +dbs +fpm phpbrew use php-7.0.8 # For Ubuntu (14.04) and (18.04) phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib # For Ubuntu (20.04) phpbrew ext install gd phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap phpbrew ext install iconv phpbrew ext install ldap # Restore permissions (14.04) and (20.04) sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; sudo find /etc/apache2 /var/lib/apache2/module /usr/sbin/a2enmod -type d -exec chmod 755 {} \; # Restore permissions (18.04) sudo find /etc/apache2 /usr/lib/apache2/modules -type f -exec chmod 644 {} \; sudo find /etc/apache2 /usr/lib/apache2/modules /usr/sbin/a2enmod -type d -exec chmod 755 {} \; # Prepare apache module (14.04) and (18.04) sudo rm /etc/apache2/mods-enabled/php7.load sudo cp /etc/apache2/mods-available/php5.conf /etc/apache2/mods-available/php7.conf -
alexandr-parkhomenko renamed this gist
May 19, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
alexandr-parkhomenko revised this gist
May 19, 2018 . 1 changed file with 13 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 @@ -1,20 +1,26 @@ # Default extension package sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt1-dev autoconf -y # Default extension package (18.04) sudo apt-get install libssl-dev # +apxs2 sudo apt-get install apache2-dev -y # +gd (14.04) sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +gd (18.04) sudo apt-get install -y libfreetype6 libfreetype6-dev libpng-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +opcache sudo apt-get install libcurl3-openssl-dev -y # +intl sudo apt-get install re2c libicu-dev -y # Reset permission (14.04) sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ # Reset permission (18.04) sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /usr/lib/apache2/modules/ #install new php version # we use version 7.0.8 only as example, it can be any supported version @@ -26,13 +32,16 @@ phpbrew ext install xdebug phpbrew ext install soap phpbrew ext install iconv # LDAP (14.04) sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ phpbrew ext install ldap # Restore permissions (14.04) sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; sudo find /etc/apache2 /var/lib/apache2/module /usr/sbin/a2enmod -type d -exec chmod 755 {} \; # Restore permissions (18.04) sudo find /etc/apache2 /usr/lib/apache2/modules -type f -exec chmod 644 {} \; sudo find /etc/apache2 /usr/lib/apache2/modules /usr/sbin/a2enmod -type d -exec chmod 755 {} \; # Prepare apache module sudo rm /etc/apache2/mods-enabled/php7.load -
alexandr-parkhomenko revised this gist
Aug 7, 2017 . 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 @@ -14,7 +14,7 @@ sudo apt-get install libcurl3-openssl-dev -y sudo apt-get install re2c libicu-dev -y # Reset permission sudo chmod oga+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version # we use version 7.0.8 only as example, it can be any supported version -
alexandr-parkhomenko revised this gist
May 11, 2017 . 1 changed file with 28 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 @@ -13,7 +13,7 @@ sudo apt-get install libcurl3-openssl-dev -y # +intl sudo apt-get install re2c libicu-dev -y # Reset permission sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version @@ -26,17 +26,40 @@ phpbrew ext install xdebug phpbrew ext install soap phpbrew ext install iconv # LDAP sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ phpbrew ext install ldap # Restore permissions sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; sudo find /etc/apache2 /var/lib/apache2/module /usr/sbin/a2enmod -type d -exec chmod 755 {} \; # Prepare apache module sudo rm /etc/apache2/mods-enabled/php7.load sudo cp /etc/apache2/mods-available/php5.conf /etc/apache2/mods-available/php7.conf #Activate php7 apache module sudo a2enmod php7 # NGINX virtual host sample server { listen 80; server_name security.oro-v2-0.loc; root /home/alex/public_html/oro/security/2.0/application/crm/web; error_log /var/log/nginx/orocrm_error.log; access_log /var/log/nginx/orocrm_access.log; location / { try_files $uri /app.php$is_args$args; } location ~ ^/(app|app_dev|config|install)\.php(/|$) { fastcgi_pass unix:/home/alex/.phpbrew/php/php-7.1.4/var/run/php-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTPS off; } } -
alexandr-parkhomenko revised this gist
Apr 21, 2017 . 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 @@ -17,7 +17,7 @@ sudo apt-get install re2c libicu-dev -y sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version # we use version 7.0.8 only as example, it can be any supported version phpbrew install 7.0.8 +default +apxs2 +intl +dbs +fpm phpbrew use php-7.0.8 phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib -
alexandr-parkhomenko revised this gist
Apr 21, 2017 . 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 @@ -17,6 +17,7 @@ sudo apt-get install re2c libicu-dev -y sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version # we use vresion 7.0.8 only as example, it can be any supported version phpbrew install 7.0.8 +default +apxs2 +intl +dbs +fpm phpbrew use php-7.0.8 phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib -
alexandr-parkhomenko revised this gist
Sep 21, 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 @@ -17,7 +17,7 @@ sudo apt-get install re2c libicu-dev -y sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +dbs +fpm phpbrew use php-7.0.8 phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib phpbrew ext install opcache -
alexandr-parkhomenko revised this gist
Jun 30, 2016 . 1 changed file with 3 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 @@ -14,7 +14,7 @@ sudo apt-get install libcurl3-openssl-dev -y sudo apt-get install re2c libicu-dev -y #Reset permission sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod /var/lib/apache2/module/ #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +dbs @@ -30,9 +30,8 @@ sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ phpbrew ext install ldap #Restore permissions sudo find /etc/apache2 /var/lib/apache2/module -type f -exec chmod 644 {} \; sudo find /etc/apache2 /var/lib/apache2/module /usr/sbin/a2enmod -type d -exec chmod 755 {} \; #Prepare apache module sudo rm /etc/apache2/mods-enabled/php7.load -
alexandr-parkhomenko revised this gist
Jun 28, 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 @@ -23,6 +23,7 @@ phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap phpbrew ext install iconv #LDAP sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ -
alexandr-parkhomenko revised this gist
Jun 28, 2016 . 1 changed file with 4 additions 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 @@ -24,6 +24,10 @@ phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap #LDAP sudo ln -fs /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/ phpbrew ext install ldap #Restore permissions sudo find /etc/apache2 -type f -exec chmod 644 {} \; sudo find /etc/apache2 -type d -exec chmod 755 {} \; -
alexandr-parkhomenko revised this gist
Jun 28, 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 @@ -14,7 +14,7 @@ sudo apt-get install libcurl3-openssl-dev -y sudo apt-get install re2c libicu-dev -y #Reset permission sudo chmod o+rw -R /etc/apache2 /usr/sbin/a2enmod #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +dbs -
alexandr-parkhomenko revised this gist
Jun 28, 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 @@ -17,7 +17,7 @@ sudo apt-get install re2c libicu-dev -y sudo chmod o+rw /etc/apache2 /usr/sbin/a2enmod #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +dbs phpbrew use php-7.0.8 phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib phpbrew ext install opcache -
alexandr-parkhomenko revised this gist
Jun 27, 2016 . 1 changed file with 3 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 @@ -5,7 +5,7 @@ sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxsl sudo apt-get install apache2-dev -y # +gd sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 libwebp-dev # +opcache sudo apt-get install libcurl3-openssl-dev -y @@ -17,8 +17,9 @@ sudo apt-get install re2c libicu-dev -y sudo chmod o+rw /etc/apache2 /usr/sbin/a2enmod #install new php version phpbrew install 7.0.8 +default +apxs2 +intl phpbrew use php-7.0.8 phpbrew ext install gd -- --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-webp-dir=/usr/lib --with-xpm-dir=/usr/lib phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap -
alexandr-parkhomenko revised this gist
Jun 27, 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 @@ -21,6 +21,7 @@ phpbrew install 7.0.8 +default +apxs2 +intl +gd phpbrew use php-7.0.8 phpbrew ext install opcache phpbrew ext install xdebug phpbrew ext install soap #Restore permissions sudo find /etc/apache2 -type f -exec chmod 644 {} \; -
alexandr-parkhomenko revised this gist
Jun 27, 2016 . 1 changed file with 16 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 @@ -13,8 +13,23 @@ sudo apt-get install libcurl3-openssl-dev -y # +intl sudo apt-get install re2c libicu-dev -y #Reset permission sudo chmod o+rw /etc/apache2 /usr/sbin/a2enmod #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +gd phpbrew use php-7.0.8 phpbrew ext install opcache phpbrew ext install xdebug #Restore permissions sudo find /etc/apache2 -type f -exec chmod 644 {} \; sudo find /etc/apache2 -type d -exec chmod 755 {} \; sudo chmod 755 /usr/sbin/a2enmod #Prepare apache module sudo rm /etc/apache2/mods-enabled/php7.load sudo cp /etc/apache2/mods-available/php5.conf /etc/apache2/mods-available/php7.conf #Activate php7 apache module sudo a2enmod php7 -
alexandr-parkhomenko revised this gist
Jun 27, 2016 . 1 changed file with 7 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 @@ -11,4 +11,10 @@ sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev li sudo apt-get install libcurl3-openssl-dev -y # +intl sudo apt-get install re2c libicu-dev -y #install new php version phpbrew install 7.0.8 +default +apxs2 +intl +gd phpbrew use php-7.0.8 phpbrew ext install opcache phpbrew ext install xdebug -
alexandr-parkhomenko created this gist
Jun 27, 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,14 @@ # Default extension package sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt1-dev autoconf -y # +apxs2 sudo apt-get install apache2-dev -y # +gd sudo apt-get install -y libfreetype6 libfreetype6-dev libpng12-0 libpng12-dev libjpeg-dev libjpeg8-dev libjpeg8 libgd-dev libgd3 # +opcache sudo apt-get install libcurl3-openssl-dev -y # +intl sudo apt-get install re2c libicu-dev -y