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

Removed php

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
mrex778
Posts: 3
Joined: Thu Jan 14, 2016 12:39 pm

Removed php
  • Quote

Post by mrex778 » Thu Jan 14, 2016 12:43 pm

Hi
I just removed the old php version to install the new one but it's look like that I have a problem wit php7 now what should I do to install php again?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Removed php
  • Quote

Post by tjebbeke » Thu Jan 14, 2016 3:21 pm

Install PHP from your OS again ... Wich OS do you use?
Top

mrex778
Posts: 3
Joined: Thu Jan 14, 2016 12:39 pm

Re: Removed php
  • Quote

Post by mrex778 » Thu Jan 14, 2016 4:31 pm

mrex778 wrote:Hi
I just removed the old php version to install the new one but it's look like that I have a problem wit php7 now what should I do to install php again?
I'm using centos 6.6 but every time that I tried to install any new version I got Error Package
If is it possible please tell me how to install php 5.6
( I just followed servermom.org tutorial and this happened )
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Removed php
  • Quote

Post by tjebbeke » Thu Jan 14, 2016 6:54 pm

I use this: https://webtatic.com/packages/php56/
Top

Nickrus
Posts: 3
Joined: Thu Apr 28, 2016 6:49 pm

Re: Removed php
  • Quote

Post by Nickrus » Thu Apr 28, 2016 7:37 pm

Hi! I install Vesta CP on Centos 7.0 but it installs PHP 5.4 by default, I always have to replace it afterwards.
How do I tell Vesta to install a newer one? Installing other repos like these didn't help:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/web ... elease.rpm

The same happens with the MySQL.
Top

gwolf2u
Posts: 12
Joined: Wed Apr 27, 2016 7:07 pm

Re: Removed php
  • Quote

Post by gwolf2u » Thu Apr 28, 2016 7:45 pm

Nickrus wrote:Hi! I install Vesta CP on Centos 7.0 but it installs PHP 5.4 by default, I always have to replace it afterwards.
How do I tell Vesta to install a newer one? Installing other repos like these didn't help:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/web ... elease.rpm

The same happens with the MySQL.
tun this

Code: Select all

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm
wget http://mirror.skamasle.com/vestacp/PHP/sk-phpinstaller_beta02_3.sh
bash sk-phpinstaller_beta02_3.sh
then change web template in VestaCP to sk-php70

for MySQL (I use MariaDB) follow link below
https://downloads.mariadb.org/mariadb/r ... rsion=10.1
Top

Nickrus
Posts: 3
Joined: Thu Apr 28, 2016 6:49 pm

Re: Removed php
  • Quote

Post by Nickrus » Thu Apr 28, 2016 8:29 pm

Thanks for a quick reply!

Will it install php 7.0? And... from an unofficial location? I actually wanted to have php 5.6.
If you also have some magic strings for php 5.6, please share.

I currently run

Code: Select all

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
service nginx stop
service httpd stop

yum install yum-plugin-replace -y
yum replace php-common --replace-with=php56w-common -y

yum install php56w-imap -y

service nginx start
service httpd start
afterwards...
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

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