我在使用 DirectAdmin 的 CustomBuild 工具时遇到问题。当我尝试使用 DirectAdmin 控制面板中的内置功能构建 PHP 时,我收到以下错误消息:
curl: (22) The requested URL returned error: 404 Not Found Download of https://files.directadmin.com/services/custombuild/php-8.1.16.tar.gz failed, re-downloading the file... Download of https://files.directadmin.com/services/custombuild/php-8.1.16.tar.gz failed 4 times, exiting...
构建过程所需的 PHP 文件似乎在指定的 URL (https://files.directadmin.com/services/custombuild) 处不可用。结果,我无法继续构建 PHP。
我已多次尝试构建过程,但问题仍然存在。还有其他人遇到类似的困难吗,或者有人了解为什么 PHP 文件可能不可用吗?
任何有关解决此问题的帮助或指导将不胜感激。
======================
更新:DirectAdmin CustomBuild 目录中缺少 PHP 版本 在调查目录 (https://files.directadmin.com/services/custombuild/) 后,我注意到没有可用的 PHP 版本。
如果您的 DirectAdmin 版本较旧,则可能会发生这种情况。尝试更新 DirectAdmin,然后尝试更新您的 php.ini。这可能会解决您的问题。