S
S
Sergey Vyvolokin2016-01-28 22:02:24
PHP
Sergey Vyvolokin, 2016-01-28 22:02:24

Different versions of PHP?

Hello. There is a VPS on it Apache/2.4.18 is installed. And two versions from PHP packages

/usr/bin/php5 -v
PHP 5.6.17-3 (cli) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
/usr/bin/php -v
PHP 7.0.2-3 (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

How to make different sites have different version of PHP?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
javanub, 2016-01-28
@javanub

I can be wrong, but in my opinion, in the panel, for example, reg.ru can change versions. Maybe you have something similar.

S
sim3x, 2016-01-28
@sim3x

use php fpm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question