Joomla 安装语言套件出现 Can’t connect to .xml

最近新建了一个 Joomla 4 的测试网站,搭建的过程中遇到一些零碎的小问题,于是干脆整理成文章。这篇是在后台的「Install Languages」页面上,会出现以下错误讯息:

无法连接到 https://update.joomla.org/language/translationlist_4.xml

 

  依照上次「Joomla 無法更新 – 出現”無法打開更新網站”的錯誤訊息」的經驗直覺應該又是與 SSL 元件有關係但這次直接執行 httpd 時卻不像上次一樣有錯誤訊息後來上網爬文依序檢查相關元件總算找到這次問題是出在 php.ini 裡的 openssl 設定導致

 


◎ 打开 php.ini,搜索 “extension=openssl”,Remove the semicolon comment in the previous line and save the file。

 

◎ Then re-enter the 'Install Languages' page,It can be displayed normally。

 

Actually, apart from openssl,It is also recommended to check whether allow_url_fopen is enabled,If it is Off,Please change it to On,Close it after the update is completed。Keeping allow_url_fopen Off is safer normally,For details, please refer to '网站服务器出现 php***.tmp 的木马文件' this article。

 

【参考链接】

留下回复

您的电子邮件地址不会被公开. 必填项已标注 *

本网站使用 Akismet 来减少垃圾评论. 了解您的评论数据如何被处理.