Removed php
Removed php
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 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?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Removed php
Install PHP from your OS again ... Wich OS do you use?
Re: Removed php
I'm using centos 6.6 but every time that I tried to install any new version I got Error Packagemrex778 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?
If is it possible please tell me how to install php 5.6
( I just followed servermom.org tutorial and this happened )
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Removed php
I use this: https://webtatic.com/packages/php56/
Re: Removed php
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.
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.
Re: Removed php
tun thisNickrus 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.
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
for MySQL (I use MariaDB) follow link below
https://downloads.mariadb.org/mariadb/r ... rsion=10.1
Re: Removed php
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
afterwards...
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