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 Web Server
  • Search

HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
103 posts
  • Page 9 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next
hknerdr
Posts: 7
Joined: Thu Apr 19, 2018 8:21 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by hknerdr » Fri Apr 20, 2018 10:49 am

Sure, CentOS 7

But how can i check my web stack?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by SS88 » Fri Apr 20, 2018 10:57 am

hknerdr wrote: ↑
Fri Apr 20, 2018 10:49 am
Sure, CentOS 7

But how can i check my web stack?
Go to Vesta Control Panel -> Server

Do you see apache/httpd and nginx listed, or just nginx?
Top

hknerdr
Posts: 7
Joined: Thu Apr 19, 2018 8:21 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by hknerdr » Fri Apr 20, 2018 12:00 pm

SS88 wrote: ↑
Fri Apr 20, 2018 10:57 am
hknerdr wrote: ↑
Fri Apr 20, 2018 10:49 am
Sure, CentOS 7

But how can i check my web stack?
Go to Vesta Control Panel -> Server

Do you see apache/httpd and nginx listed, or just nginx?
I have httpd as web server nginx as reverse proxy.
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by SS88 » Fri Apr 20, 2018 12:08 pm

This is only for NGINX + PHP-FPM installs but it's covered in the posts too.

Did you try install PHP 7 or PHP 7.2?
Top

hknerdr
Posts: 7
Joined: Thu Apr 19, 2018 8:21 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by hknerdr » Fri Apr 20, 2018 12:11 pm

SS88 wrote: ↑
Fri Apr 20, 2018 12:08 pm
This is only for NGINX + PHP-FPM installs but it's covered in the posts too.

Did you try install PHP 7 or PHP 7.2?
yes but i will need 5.6

now phpmyadmin gives forbidden error :(
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by SS88 » Fri Apr 20, 2018 12:14 pm

hknerdr wrote: ↑
Fri Apr 20, 2018 12:11 pm
SS88 wrote: ↑
Fri Apr 20, 2018 12:08 pm
This is only for NGINX + PHP-FPM installs but it's covered in the posts too.

Did you try install PHP 7 or PHP 7.2?
yes but i will need 5.6

now phpmyadmin gives forbidden error :(
I am confused.
Top

hknerdr
Posts: 7
Joined: Thu Apr 19, 2018 8:21 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by hknerdr » Fri Apr 20, 2018 12:18 pm

SS88 wrote: ↑
Fri Apr 20, 2018 12:14 pm
hknerdr wrote: ↑
Fri Apr 20, 2018 12:11 pm
SS88 wrote: ↑
Fri Apr 20, 2018 12:08 pm
This is only for NGINX + PHP-FPM installs but it's covered in the posts too.

Did you try install PHP 7 or PHP 7.2?
yes but i will need 5.6

now phpmyadmin gives forbidden error :(
I am confused.
I can give more details if you want.

At first i had a php.ini problem, then i deleted all php packages, then installed 7.2.5 as your guide.

But opencart need php 5.6 so i downgraded it and installed phpmyadmin again. but now phpmyadmin gives forbidden error.
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by SS88 » Fri Apr 20, 2018 12:27 pm

You will need to re-enable the yum packages and then install PHP 5.6 again. I'm unable to help further.

yum install yum-utils
yum-config-manager --enable remi-php56
yum-config-manager --enable remi-php55
yum-config-manager --enable remi-php56-debuginfo
yum-config-manager --enable remi-php55-debuginfo
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by kaavain » Sun Apr 22, 2018 1:28 pm

Hi

Does it works if I've installed Vesta as Apache + NGINX?
Top

Xanesi
Posts: 2
Joined: Mon May 21, 2018 1:28 pm

Os: Debian 6x
Web: nginx + php-fpm
Re: HOWTO: Install PHP7.0 or PHP 7.2 on CentOS 7
  • Quote

Post by Xanesi » Mon May 21, 2018 1:37 pm

Thank you, I finally did it-)
Last edited by Xanesi on Tue Aug 18, 2020 6:13 pm, edited 3 times in total.
Top


Post Reply
  • Print view

103 posts
  • Page 9 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next

Return to “Web Server”



  • 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