久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區

標題: 請問這個錯誤是怎么回事? [打印本頁]

作者: 78950405    時間: 2023-5-18 16:41
標題: 請問這個錯誤是怎么回事?
3.5程序,服務器遷移,新服務器上登陸報錯:

(, 下載次數: 18)

php是8.0,string也安裝了

  1. [root@localhost data]# php -v
  2. PHP 8.0.27 (cli) (built: Jan  3 2023 16:17:26) ( NTS gcc x86_64 )
  3. Copyright (c) The PHP Group
  4. Zend Engine v4.0.27, Copyright (c) Zend Technologies
  5.     with Zend OPcache v8.0.27, Copyright (c), by Zend Technologies
  6. [root@localhost data]# php -m
  7. [PHP Modules]
  8. bz2
  9. calendar
  10. Core
  11. ctype
  12. curl
  13. date
  14. dom
  15. exif
  16. fileinfo
  17. filter
  18. ftp
  19. gd
  20. gettext
  21. hash
  22. iconv
  23. json
  24. libxml
  25. mbstring
  26. mysqli
  27. mysqlnd
  28. openssl
  29. pcntl
  30. pcre
  31. PDO
  32. pdo_mysql
  33. pdo_sqlite
  34. Phar
  35. posix
  36. readline
  37. Reflection
  38. session
  39. shmop
  40. SimpleXML
  41. sockets
  42. SPL
  43. sqlite3
  44. standard
  45. sysvmsg
  46. sysvsem
  47. sysvshm
  48. tokenizer
  49. xml
  50. xmlreader
  51. xmlwriter
  52. xsl
  53. Zend OPcache
  54. zip
  55. zlib

  56. [Zend Modules]
  57. Zend OPcache

復制代碼



作者: 人工智能實驗室    時間: 2023-5-18 17:33
如果是正式運營的網站,暫不建議使用php8,一些未知的小錯誤會影響你的正常運營,建議切換到php7.3或php7.4,這兩個版本都比較穩定,執行效率也比較高!
作者: 專家    時間: 2023-5-19 03:22
你這使用的不是默認模板,第三方模板存在未完整適配的可能性,你切換到默認模板試下如果沒有問題就說明是你正在使用的模板的問題了。
作者: 湖中沉    時間: 2023-5-19 08:35
使用的第三方模板未兼容PHP8
作者: 78950405    時間: 2023-5-19 10:05
生產環境是steam 9,php由8.0降到7.4之后,故障消失。




歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/) Powered by Discuz! W1.0