Quantcast
Channel: IT Advice
Viewing all articles
Browse latest Browse all 10

How to install second php version on Nginx and Ubuntu

$
0
0

Let’s see how can we install second php version (in this case 5.6) on LEMP stack If you have docker like I do, the best way is to fire up another container with second version of php. I’m on dev server so I’ll just show you how to do it assuming that you don’t have docker. Container OS is Ubuntu 16.4 and already has php 7.1 1. Add repo and update: [crayon-5d97e6ab747a7025763447/] 2. Install php-fpm (5.6) and dependencies: [crayon-5d97e6ab747b5269790170/] 3. Verify: [crayon-5d97e6ab747bb358087684/] 4*. Not required but you should do it.(cgi.fix_pathinfo=0 in php.ini): [crayon-5d97e6ab747c1085469210/] search with ctrl+w cgi.fix_pathinfo and make sure you set it to 0 [crayon-5d97e6ab747c6275354259/] 5. Setup php pool […]

How to install second php version on Nginx and Ubuntu first appeared on IT Advice


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images