在debian docker上安装php7.3-intl时出现错误;没有安装候选者“;

在debian docker上安装php7.3-intl时出现错误;没有安装候选者“;,php,docker,debian,intl,php-7.3,Php,Docker,Debian,Intl,Php 7.3,我通过docker compose安装了wordpress。它使用php7.3(我检查了版本)。现在的问题是这样的:一个wp函数使用Locale类->需要启用php_intl(在php.ini中找不到)->尝试安装php7.3-intl->出现错误 Package php7.3-intl is not available, but is referred to by another package. This may mean that the package is missing, has b

我通过docker compose安装了wordpress。它使用php7.3(我检查了版本)。现在的问题是这样的:一个wp函数使用Locale类->需要启用php_intl(在php.ini中找不到)->尝试安装php7.3-intl->出现错误

Package php7.3-intl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.3-intl' has no installation candidate
我尝试了这些网站中提到的解决方案:,和。最后以最后一个链接中的错误结束:

/tmp/pear/temp/intl/intl_error.h:24:10: fatal error: ext/standard/php_smart_str.h: No such file or directory
我尝试了
nano/tmp/pear/temp/intl/intl\u error.h
但是路径不存在。另外,当被问到
指定在哪里可以找到ICU库和标题时[默认]
我只需按enter键


下一步该怎么办,或者有更好的方法来解决我原来的问题吗?

我遇到了同样的问题,我解决了在容器中运行此命令的问题:

docker-php-ext-install intl