尝鲜drupal10

编程入门 行业动态 更新时间:2024-10-24 21:31:33

尝鲜drupal10

尝鲜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版本
参考:网址.html
2、PHPStudy升级PHP版本8.2操作步骤
参考:/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

更多推荐

尝鲜drupal10

本文发布于:2024-03-08 17:01:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1721541.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!