尝鲜drupal10

昨天下载了安装了drupal10,遇到了一些问题,记录下来方便备查,也帮助一下需要的朋友
1、PHP要求
Drupal 10 requires PHP 8.1 or higher.
drupal10要求PHP8.1及以上,最好8.16以上
PHP versions 8.1.0 through 8.1.5 have a bug with the PHP OPcache that may cause intermittent fatal errors at runtime for class autoloading, so PHP 8.1.6 or higher is recommended.

2、数据库要求Database requirements
MySQL or Percona 5.7.8.
MariaDB 10.3.7 (This is a more recent release than the MySQL version.)
PostgreSQL 12 with the pg_trgm extension.
SQLite 3.26 with the JSON1 extension. PHP does not always use the system-provided SQLite, so verify that your PHP is compiled with at least this version.
3、Composer要求
你要用composer安装的话,要求2.3.6或以上;
Drupal 10 recommends Composer version 2.3.6 or higher, which is required for compatibility with PHP 8.2 and the forthcoming Automatic Updates feature.
安装:
composer create-project drupal/recommended-project:10.0.0 “install-dir”
升级:
composer update “drupal/core-*” --with-all-dependencies
这三个要求我是通过安装PHPstudy_pro来实现的,国产用着方便

1、phpstudy_pro设置不同的composer版本
参考:网址http://micuer.com/new/2963.html
2、PHPStudy升级PHP版本8.2操作步骤
参考:https://www.esw.ink/5584.html
安装drupal10遇到的问题解决:
1、PHP extensions 扩展插件gd
去php.ini 改了改:
; On windows:
extension_dir = “D:\web\phpstudy_pro\Extensions\php\php8.2.0nts\ext”
; Directory where the temporary files should be placed.

2、database support 扩展插件pdo在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值