TYPO3 9 LTS版本9.5.5-无法访问远程资源https://repositories.typo3.org/mirrors.xml.gz

时间:2019-03-15 12:24:49

标签: typo3 typo3-9.x

我正在使用当前版本的Typo3 9.5.5,在Windows 7上使用PHP版本:7.3.2和XAMPP 3.2.3。在ADMIN TOOLS->扩展->的后端接口中,获取预配置的发行版,我总是得到错误“无法访问远程资源https://repositories.typo3.org/mirrors.xml.gz”。我已经用https://www.pagemachine.de/blog/wie-ihr-typo3-8-0-als-locales-testsystem-unter-windows-installer-unser-tutorial/#div-comment-4718进行了尝试,但不幸的是没有用。有人有解决方案吗?

[编辑]我想上传整个文件php.ini,但是很遗憾,我还没有找到一种方法来上传。不可能将php.ini的所有内容放在此处,因为字符数限制为30000。我只可以显示未注释的行,但这也不是很好。

C:\ xampp \ php \ php.ini的一部分:

extension_dir="C:\xampp\php\ext"
;...
;...
;...
; When the extension library to load is not located in the default extension
; directory, You may specify an absolute path to the library file:
;
;   extension=/path/to/extension/mysqli.so
;
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
; deprecated in a future PHP major version. So, when it is possible, please
; move to the new ('extension=<ext>) syntax.
;
; Notes for Windows environments :
;
; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
;   extension folders as well as the separate PECL DLL download (PHP 5+).
;   Be sure to appropriately set the extension_dir directive.
;
extension=bz2
extension=curl

2 个答案:

答案 0 :(得分:0)

您需要在XAMPP安装中激活curl。也许Stack Overflow post可以帮助您。

如果您使用Windows 10专业版,我强烈推荐DDEV-Local,它为您进行本地开发奠定了坚实的基础。它也应该与Windows 10 Home一起使用。 如果您需要DDEV方面的帮助,TYPO3 Slack中的#DDEV频道非常有帮助。

答案 1 :(得分:0)

我通过添加
解决了问题
(1)模块设置部分

中的“ extension = php_curl.dll ”行

并通过更新
(2)行中的文件“ curl-ca-bundle.crt ”; curl.cainfo =“ C:\ xampp \ apache \ bin \ curl-ca-bundle.crt ”在Xampp目录(包括子目录)中不存在。因此,请明确下载文件“ cacert.pem ”(仅限google),并替换; curl.cainfo =“ C:\ xampp \ apache \ bin \ curl-ca-bundle.crt” curl.cainfo =“ C:\ xampp \ cacert.pem” 。将“ cacert.pem ”文件放在目录“ * C:\ xampp *”中。
(3)还要替换这一行: openssl.cafile =“ C:\ xampp \ apache \ bin \ curl-ca-bundle.crt” openssl。 cafile =“ C:\ xampp \ cacert.pem” 。这样就可以了。