Page 9 of 11

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

Posted: Fri Apr 20, 2018 10:49 am
by hknerdr
Sure, CentOS 7

But how can i check my web stack?

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

Posted: Fri Apr 20, 2018 10:57 am
by SS88
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?

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

Posted: Fri Apr 20, 2018 12:00 pm
by hknerdr
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.

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

Posted: Fri Apr 20, 2018 12:08 pm
by SS88
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?

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

Posted: Fri Apr 20, 2018 12:11 pm
by hknerdr
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 :(

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

Posted: Fri Apr 20, 2018 12:14 pm
by SS88
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.

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

Posted: Fri Apr 20, 2018 12:18 pm
by hknerdr
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.

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

Posted: Fri Apr 20, 2018 12:27 pm
by SS88
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

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

Posted: Sun Apr 22, 2018 1:28 pm
by kaavain
Hi

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

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

Posted: Mon May 21, 2018 1:37 pm
by Xanesi
Thank you, I finally did it-)