P
P
Pavel Gogolinsky2016-05-21 14:47:09
PHP
Pavel Gogolinsky, 2016-05-21 14:47:09

How to update php on VDS to 7.0?

Updated on VDS php to version 7.0
php -v shows version 7.0
But <?php phpinfo() ?> shows version 5.5.
Why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2016-05-21
@gogolinsky

Reason 1: Didn't restart the server.
Reason 2: 5.5 left in the config of a specific site.
I had this on ISP, the second way was decided.
The php version was selected manually, and remained 5.5.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question