Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3 Topic is solved

General questions about VestaCP
Post Reply
  • Print view
Advanced search
33 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by sufiyanshaikh » Mon Sep 23, 2019 8:07 pm

sysadminn wrote: ↑
Fri Sep 20, 2019 1:21 pm
grayfolk wrote: ↑
Fri Sep 20, 2019 1:19 pm
sysadminn wrote: ↑
Fri Sep 20, 2019 12:54 pm

Still the same, can you try on your end on a server and give results with commands here?
Dont have any problems:

Code: Select all

]# rpm -q centos-release && uname -ir && php -v
centos-release-7-7.1908.0.el7.centos.x86_64
3.10.0-957.27.2.el7.x86_64 x86_64
PHP 7.3.9 (cli) (built: Aug 27 2019 22:52:39) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
Share exactly which commands you used from the begin?

Do a fresh installation if you have did it in system which already has vestacp installed.
I am sure you'll face issue too downgrading php version from 7.4
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by grayfolk » Tue Sep 24, 2019 5:47 am

sufiyanshaikh wrote: ↑
Mon Sep 23, 2019 8:04 pm


Very well reply grayfolk. , below is the solution (Personally tested by me to downgrade to 7.1 from 7.4):
http://www.servermom.org/upgrade-vestac ... ntos/2974/

Rather than saying its not vestacp issue, you could have at least tried to help us(That's how a good community get build). Thanks a lot for your efforts to reply on the post.
I say again: VestaCP just install default versions from default repositories and just can control some configs, no more and no update any software after install.
If you want upgrade/downgrade some software - you should make this manually - you cant do this using Vesta.
sufiyanshaikh wrote: ↑
Mon Sep 23, 2019 8:04 pm

Rather than saying its not vestacp issue, you could have at least tried to help us(That's how a good community get build). Thanks a lot for your efforts to reply on the post.
You just dont want to use Google and a lot of linux communities (100% of it contains answer for your question) for find answer.
Top

sysadminn
Posts: 26
Joined: Thu Dec 31, 2015 4:36 pm

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by sysadminn » Tue Sep 24, 2019 10:05 am

grayfolk wrote: ↑
Tue Sep 24, 2019 5:47 am
You just dont want to use Google and a lot of linux communities (100% of it contains answer for your question) for find answer.
Better not talk! I asked you share command and you disappeared like .. (but your fantasy here to understand which word i wanted to use)
You should understand you are on a forum where people get helped, if you not want to understand it you can just leave you are only typing nothing more waste of time!
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by grayfolk » Tue Sep 24, 2019 10:17 am

sysadminn wrote: ↑
Tue Sep 24, 2019 10:05 am
grayfolk wrote: ↑
Tue Sep 24, 2019 5:47 am
You just dont want to use Google and a lot of linux communities (100% of it contains answer for your question) for find answer.
Better not talk! I asked you share command and you disappeared like .. (but your fantasy here to understand which word i wanted to use)
You should understand you are on a forum where people get helped, if you not want to understand it you can just leave you are only typing nothing more waste of time!
You really need help for using google?
sysadminn wrote: ↑
Tue Sep 24, 2019 10:05 am

I asked you share command
I said you what commands i use. If something doesn’t work out for you, it’s not my fault.
And right, this is forum where people get helped, not a sysadmin beginner courses and not a platform for copypasting from another sites.
Top

sysadminn
Posts: 26
Joined: Thu Dec 31, 2015 4:36 pm

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by sysadminn » Tue Sep 24, 2019 10:19 am

grayfolk wrote: ↑
Tue Sep 24, 2019 10:17 am
sysadminn wrote: ↑
Tue Sep 24, 2019 10:05 am
grayfolk wrote: ↑
Tue Sep 24, 2019 5:47 am
You just dont want to use Google and a lot of linux communities (100% of it contains answer for your question) for find answer.
Better not talk! I asked you share command and you disappeared like .. (but your fantasy here to understand which word i wanted to use)
You should understand you are on a forum where people get helped, if you not want to understand it you can just leave you are only typing nothing more waste of time!
You really need help for using google?
sysadminn wrote: ↑
Tue Sep 24, 2019 10:05 am

I asked you share command
I said you what commands i use. If something doesn’t work out for you, it’s not my fault.
And right, this is forum where people get helped, not a sysadmin beginner courses and not a platform for copypasting from another sites.
What are you talking about? Those commands not work and i asked you how did you do it on your end? On a fresh or a current installation or you are too <intelligent> to understand my question?
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by grayfolk » Tue Sep 24, 2019 10:21 am

sysadminn wrote: ↑
Tue Sep 24, 2019 10:19 am

What are you talking about? Those commands not work and i asked you how did you do it on your end? On a fresh or a current installation or you are too <intelligent> to understand my question?
Did you joke? I'm say again:
1. disable remi-php5*
2. enable remi-php73
3. yum update

This is was i am doing after clean Vesta install on latest CentOS 7 x64.
Result - php 7.3 installing and working fine.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by grayfolk » Tue Sep 24, 2019 10:23 am

grayfolk wrote: ↑
Tue Sep 24, 2019 10:21 am

This is was i am doing after clean Vesta install on latest CentOS 7 x64.
But this is should working on any install, doesnt matter new or old.
Top

sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by sufiyanshaikh » Tue Sep 24, 2019 10:36 am

grayfolk wrote: ↑
Tue Sep 24, 2019 10:23 am
grayfolk wrote: ↑
Tue Sep 24, 2019 10:21 am

This is was i am doing after clean Vesta install on latest CentOS 7 x64.
But this is should working on any install, doesnt matter new or old.

But that's "NOT WORKING".
Have a fresh install and you will know by yourself.
Even phpmyadmin is showing errors/warning.

We are not able to downgrade version. Even my last solution is giving problem in phpmyadmin
Top

dbinet
Posts: 5
Joined: Wed Mar 07, 2018 9:10 pm

Os: CentOS 6x
Web: apache + nginx
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by dbinet » Tue Sep 24, 2019 11:32 pm

Hey Guys,

Just to say that I have experienced the same issue here on my end.
Created a fresh EC2 instance at AWS and installed CentOS7. (PHP is NOT installed at this point after installing CentOS7).
Then go to vestacp.com and create my installation script.
Install Vesta CP and now PHP 7.4.0RC2 is installed.
This happened to me first about 2 weeks ago when i spun up a new instance. I just assumed it was okay, which it is not.
So thinking i had some anomaly i spun up another fresh instance today to see if a current stable release of php was installed when installing the vesta CP.
Still installing PHP 7.4.0RC2
This is unusable in a production environment of course.
Thank goodness i found this thread, because i was scratching my head wondering how i managed to do this.
Any fresh info on this, or maybe when we can download a fresh version of VestaCP that comes with a stable version of PHP would be greatly appreciated.
Thank you for helping those of us that don't have as much sysadmin experience as some of you guys do.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3
  • Quote

Post by grayfolk » Wed Sep 25, 2019 11:10 am

Commands for downgrade:

Code: Select all

yum install yum-utils -y
yum-config-manager --disable remi-php5*
yum-config-manager --disable remi-php74
yum-config-manager --disable remi-test
yum-config-manager --enable remi-php73
yum remove php php-*
yum install roundcube phpmyadmin -y
service httpd restart or service php-fpm restar
Top


Post Reply
  • Print view

33 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password