我有Debian 11,我正在尝试安装一些php库,比如mysql:
命令:sudo apt install php-mysql
结果:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
d
我遵循了这教程,但失败了。
在更新/升级命令之后,我收到了很多PHP not found found错误,但我仍然希望Stretch能够取代PHP。
现在,sudo apt-get update给出了以下错误:
W: There is no public key available for the following key IDs:
112695A0E562B32A
W: There is no public key available for the following key IDs:
648ACFD622F3D138
W: Failed to fetch https://package
我正在我的虚拟机上安装php。我使用了apt-get install php5,但它抛出了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 libonig2 libqdbm14 php5-cli php5-common php5-json php5-readline
Suggested packages:
是的,我知道,Debian Wheeze已经过时了。
但有没有可能安装PHP扩展与"apt-get"?
也许我需要为过期的LTS使用一些其他的源列表?
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdbd-mysql-perl libdbi-perl libhtml-templa
可以在Debian 10上安装php5.6-imagick吗?我安装了Debian10并在其中移动了我的旧代码库,但是站点不能使用php7,所以我已经知道如何安装php5.6,但是当我试图安装php5.6-imagick时,我得到了这个错误:
The following packages have unmet dependencies:
php5.6-imagick : Depends: libmagickcore-6.q16-3 (>= 8:6.9.6.8) but it is not installable
Depends: libmagickwand-6
在我的容器上(来自php:7.0-Apache-tending)
apt update
apt install php7.0-sybase
结果:
E: Package 'php7.0-sybase' has no installation candidate
文件/etc/apt/sources.list .列表:
deb http://deb.debian.org/debian stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb http://deb.deb
我已经尝试过在debian 9中安装php,但我没有使用。
我做了这个命令:
sudo apt-get -y install php7.0 libapache2-mod-php7.0
错误发生后:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or i
我正试图在我的计算机上安装php5-cli软件包,但是对于未满足的依赖项,我得到了以下错误。
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libmaven2-core-java : Depends: libdoxia
我尝试在Debian服务器上安装GD库,但出现以下错误:
# apt-get install php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 libt1-5 php5-common php5-mcrypt php5-mysql
Suggested packages:
php-pear
The followin
解决了
我有Debian安装的php 5.4.18。我想把它升级到5.5.x,但是标准程序不起作用。
这是我的/etc/apt/sources.list .file文件:
# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130504-14:43]/ wheezy main
deb http://ftp.pl.debian.org/debian/ wheezy main
deb-src http://ftp.pl.debian.org/debian/ wheezy main
deb
亲爱的所有人在安装Laravel 5.3项目时遇到以下错误: Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them
我无法安装php7.0-mbstring:
以下软件包有未满足的依赖关系: php7.0-mbstring :依赖性:php7.0-公共(= 7.0.19-1),但7.0.20-1~dotdeb+8.2将被安装E:无法纠正问题,您已经持有了损坏的包。
sources.list:
deb http://debian.man.ac.uk/debian/ stretch main deb-src http://debian.man.ac.uk/debian/ stretch main
deb http://security.debian.org/ stretch/updates main cont
我在Debian 7 VirtualBox VM上安装PHP5memcached模块的尝试失败了:
root@testvm:~# apt-get install php5-memcached
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if yo
我在开发服务器上运行Debian测试。不幸的是,我不得不同时使用mysqli (不包括在php7中)和php7。
cat /etc/问题
Debian GNU/Linux stretch/sid
apt-获取安装php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible
我正在使用Debian 9,最近我将PHP从5.6升级到7.4。我被撞到了
未找到类“SoapClient”
运行旧PHP脚本时出错,该脚本在PHP5.6下运行得很好。phpinfo()列出了"SOAP“模块,但是它没有一个专门的"soap”部分,列出了"Soap客户端“(如前面提到的)。
我认为问题在于我没有安装php7.4-soap扩展,所以我运行了sudo apt-get install php7.4-soap,但是我得到了以下错误:
Building dependency tree
Reading state information...
在我的debian升级之后,从10.5升级到10.6,我遇到了这个小问题。
我不能升级这个包
The following packages have been kept back:
php-phpmyadmin-sql-parser
我想安装,但debian要求我删除phpmyadmin。我觉得不是个好主意
The following packages will be REMOVED:
phpmyadmin
The following packages will be upgraded:
php-phpmyadmin-sql-parser
然后我想同时安装phpmyadmin和ph