root@host [~]# yum install php56w php56w-opcache
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: denver.gaminghost.co
* epel: fedora-epel.mirror.lstn.net
* extras: chicago.gaminghost.co
* updates: centos.vwtonline.net
* webtatic: us-east.repo.webtatic.com
No package php56w available.
No package php56w-opcache available.
Error: Nothing to do
这是我从尝试安装 php 5.6 中得到的,也是 - 我无法安装 PHP mbstring 扩展。
我能做什么?
顺便说一句,它是 debian 8
现在我也在我的系统中安装了 PHP 5.6。安装已成功完成。请按照以下步骤操作 -
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5
您可以使用
以下链接来安装PHP MySQL和phpmyadmin。单击此处获取文件
安装 php、mysql 和 phpmyadmin 的步骤
- 转到已下载文件的文件夹。
使用如下命令
须藤 ./phpserverInstallation.sh
它将自动安装 PHP MySQL 和 phpmyadmin。