A
A
Artyom Pinul2016-04-07 01:06:11
PHP
Artyom Pinul, 2016-04-07 01:06:11

How to downgrade PHP 5.4.45 to 5.2 in VestaCP on Centos 7?

Good day.
I needed under def. tasks, downgrade the php version., I don’t know how to immediately install the desired PHP version when installing VestaCP, so I need to downgrade it now to 5.2
Thanks in advance for the answers =) And help in this difficult matter))

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sanes, 2016-04-07
@Sanes

Yes, here you need to write a whole instruction and pre-test it before writing.
The general scheme is to install the required version and edit web domain configuration templates. You'd be better off contacting the developers. They also have a Russian-language forum.

A
Artyom Pinul, 2016-04-07
@Focster

=)
Thank you)) It seems that I found an article on the Internet, now I'm trying it. If it works out and everything will be ok., I
'll throw off the link here.

Z
zooks, 2016-04-07
@zooks

Why downgrade on Vesta when it runs on PHP versions above 5.3?

  • There is a normal way: update the site code for version 5.3 and higher: php.net/manual/en/migration53.php
  • And fast: install PHP 5.2 and MySQL on the server with Apache without Vesta.

L
lynnikvadim, 2016-12-25
@lynnikvadim

PHP multiversion on CentOS with VestaCP.
In the comments to the article PHP multiversion on a server with VestaCP, one of the readers asked me to write an article on how to do the same on CentOS. I was already preparing to write an article about compiling php from source, but after reading the vesta forum I saw that everything had already been done for me.
There is a script on the official VestaCP forum that adds a repository with already built versions of php 5.5, 5.6 and 7.0. PHP 5.4 is installed by default on CentOS 6.8. As a result, after installing the script, we have all versions of php starting from 5.4.
Installation is super easy
# wget mirror.skamasle.com/vestacp/PHP/sk-phpinstaller_be...
# bash sk-phpinstaller_beta02_3.sh

anikin.pw/tags/vesta-control-panel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question