|
3.5程序,服務器遷移,新服務器上登陸報錯:
2023-05-18_163815.png (62.75 KB, 下載次數: 16)
下載附件
2023-5-18 16:39 上傳
php是8.0,string也安裝了
- [root@localhost data]# php -v
- PHP 8.0.27 (cli) (built: Jan 3 2023 16:17:26) ( NTS gcc x86_64 )
- Copyright (c) The PHP Group
- Zend Engine v4.0.27, Copyright (c) Zend Technologies
- with Zend OPcache v8.0.27, Copyright (c), by Zend Technologies
- [root@localhost data]# php -m
- [PHP Modules]
- bz2
- calendar
- Core
- ctype
- curl
- date
- dom
- exif
- fileinfo
- filter
- ftp
- gd
- gettext
- hash
- iconv
- json
- libxml
- mbstring
- mysqli
- mysqlnd
- openssl
- pcntl
- pcre
- PDO
- pdo_mysql
- pdo_sqlite
- Phar
- posix
- readline
- Reflection
- session
- shmop
- SimpleXML
- sockets
- SPL
- sqlite3
- standard
- sysvmsg
- sysvsem
- sysvshm
- tokenizer
- xml
- xmlreader
- xmlwriter
- xsl
- Zend OPcache
- zip
- zlib
- [Zend Modules]
- Zend OPcache
復制代碼
1 貢獻+1 金幣最佳答案
如果是正式運營的網站,暫不建議使用php8,一些未知的小錯誤會影響你的正常運營,建議切換到php7.3或php7.4,這兩個版本都比較穩定,執行效率也比較高!
|
|