openEuler 23.09 yum PHP7.3.33

请问大家,现在部署的 openEuler 23.09,想要安装PHP7.3.33,现在编译安装也报错,直接安装只能是PHP8.2,手动安装源也报错
[root@localhost ~]# yum install -y epel-release
Invalid configuration value: enabled= in /etc/yum.repos.d/openEuler.repo; 无效的布尔值 ‘’
OS 9.4 kB/s | 2.2 kB 00:00
everything 32 kB/s | 3.8 kB 00:00
EPOL 26 kB/s | 3.0 kB 00:00
debuginfo 9.2 kB/s | 2.3 kB 00:00
source 9.5 kB/s | 2.2 kB 00:00
update 8.9 kB/s | 2.3 kB 00:00
update-source 9.7 kB/s | 2.3 kB 00:00
Error:
Problem: 冲突的请求

  • nothing provides redhat-release >= 7 needed by epel-release-7-14.noarch from epel
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

我想直接用yum安装,可是没找到方法。请教大家,有什么方法吗?

1 个赞

软件可以到OEPKGS-SEARCH中进行查找,刚查找了下,23.09官方的版本是8.2.10-1.oe2309


另外建议使用openEuler的长生命周期版本,也就是LTS版本

添加个wlnmp源就可以了,可以装全版本的php,yum一下就好了

谢谢。看到https://www.wlnmp.com/release源中最高支持到openEuler 22.03,找个机会试试