0

I have a request for the installation php7 for Apache

sudo apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv

What a complete request must be for Nginx?

4
  • this package is the most important php7.0-fpm Commented Jun 17, 2016 at 12:07
  • I think most delete libapache2-mod-php7.0 And request will this: sudo apt-get install -y php7.0-fpm php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv Commented Jun 17, 2016 at 12:43
  • Guys, please, give me correct full command. Commented Jun 18, 2016 at 6:54
  • run magento readiness check, it will show you whats missing... Commented Jun 18, 2016 at 8:49

1 Answer 1

1

Just replace libapache2-mod-php7.0 with php7.0-fpm.

like

sudo apt-get install -y php7.0 with php7.0-fpm php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv 

Looks like better to add php7.0-opcache php7.0-soap php7.0-json php7.0-xml to list of modules

1
  • Right? sudo apt-get install -y php7.0-fpm libapache2-mod-php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv Commented Jun 16, 2016 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.