mingkong 發(fā)表于 2022-9-21 07:54
看看這里的安裝需求是否都滿足
Discuz! X3.5 Beta-20220910 發(fā)布 - Discuz程序發(fā)布 - Powered by Discuz!
h ...
1314學(xué)習(xí)網(wǎng) 發(fā)表于 2022-9-21 13:34
dns_get_record 是php自帶的函數(shù),你的php好像不支持
X3.5不支持 php5.4
No. | File | Line | Code |
1 | admin.php | 58 | require(%s) |
2 | source/admincp/admincp_index.php | 52 | cloudaddons_open() |
3 | source/function/function_cloudaddons.php | 85 | dfsockopen() |
4 | source/function/function_core.php | 222 | _dfsockopen() |
5 | source/function/function_filesock.php | 28 | filesock_curl->request() |
6 | source/class/filesock/filesock_curl.php | 21 | filesock_base->request() |
7 | source/class/filesock/filesock_base.php | 227 | filesock_base->_parse_url() |
8 | source/class/filesock/filesock_base.php | 111 | filesock_base->_query_safecheck() |
9 | source/class/filesock/filesock_base.php | 100 | filesock_base->_dns_query() |
10 | source/class/filesock/filesock_base.php | 142 | break() |
Basic Information
Version | 8.0.22 | Install Path | /www/server/php/ |
php.ini | /www/server/php/80/etc/php.ini | ||
Loaded | Core date libxml openssl pcre sqlite3 zlib bcmath ctype curl dom filter ftp gd gettext hash iconv intl json mbstring SPL session pcntl standard PDO mysqlnd pdo_sqlite Phar posix Reflection pdo_mysql shmop SimpleXML soap sockets sodium mysqli sysvsem tokenizer xml xmlreader xmlwriter zip memcache memcached imagick redis Zend OPcache |
Database-driven
MySQL | No | MySQLi | Yes | PDO-MySQL | Yes |
SqlServer | No | PDO-SqlServer | No | Sqlite3 | Yes |
PDO-Sqlite | Yes | PgSQL | No | PDO-PgSQL | No |
MongoDB | No |
Buffer
Zend OPcache | Yes | Redis | Yes | Memcache | Yes |
Memcached | Yes | apcu | No | xcache | No |
Encryption and decryption library
Zend Optimizer | No | Zend Guard Loader | No | ionCube Loader | No |
SourceGuardian | No | Mcrypt | No | OpenSSL | Yes |
Iconv | Yes |
Image processing library
EXIF | No | GD library | Yes | ImageMagick | Yes |
Network Communication Library
cURL | Yes | Swoole | No | Sockets | Yes |
File and string processing libraries
Xmlrpc | No | FileInfo | No | Ftp | Yes |
Mbstring | Yes | bz2 | No | xsl | No |
Other third-party libraries
xDebug | No | phalcon | No | yaf | No |
mingkong 發(fā)表于 2022-9-22 17:47
挨個(gè)換PHP版本看看。看提示就是找不DNS_這個(gè)東西
如果測(cè)試很多PHP版本仍然是這樣。就要考慮防火墻是不是禁 ...
1314學(xué)習(xí)網(wǎng) 發(fā)表于 2022-9-22 19:25
我記得寶塔有個(gè)地方設(shè)置禁止對(duì)外訪問(wèn),會(huì)導(dǎo)致對(duì)外請(qǐng)求相關(guān)函數(shù)都掛掉
for ubuntu 20.04 aarch64 on php 8.0 / 7.4 can resolved on dns_get_record.====hm... but on RHEL still can resolved on this due already support php 8.0 in their changelog.RHEL : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.6_release_notes/index#overview-major-changesOracle : https://docs.oracle.com/en/operating-systems/oracle-linux/8/relnotes8.6/ol8-features-changes.html#ol8-features-databaseIncluding support latest mySQL 8.0 both.RHEL : Chapter 2. Architectures - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.6_release_notes/index#architecturesOracle Linux : Chapter 7 Release-Specific Information for Oracle Linux 8.6 (aarch64) - https://docs.oracle.com/en/operating-systems/oracle-linux/8/relnotes8.6/ol8-arm-only.html=====if issue on php.net (official) can your team create the ticket bug to them cause i personal create this issue maybe slow response reply form team php.netThanks.
BQQ 發(fā)表于 2022-9-22 21:46
還有這個(gè):
https://github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers/oraclelinux8/php ...
專家 發(fā)表于 2022-9-22 22:50
很明顯是環(huán)境問(wèn)題,與Discuz無(wú)關(guān)
dns_get_record是php的核心組成部分,這個(gè)沒(méi)有的話就是環(huán)境有問(wèn)題。
搞 ...
專家 發(fā)表于 2022-9-22 22:50
很明顯是環(huán)境問(wèn)題,與Discuz無(wú)關(guān)
dns_get_record是php的核心組成部分,這個(gè)沒(méi)有的話就是環(huán)境有問(wèn)題。
搞 ...
BQQ 發(fā)表于 2022-9-23 08:08
但是這個(gè)環(huán)境下的其他網(wǎng)站運(yùn)行都是良好的。
比如wordpress / thinkphp
BQQ 發(fā)表于 2022-9-23 08:09
同一臺(tái)服務(wù)器下,同樣的環(huán)境,wordpress / thinkphp 都是運(yùn)行良好。
BQQ 發(fā)表于 2022-9-22 17:40
這是個(gè)啥問(wèn)題?沒(méi)有解決方案嗎?愁啊
mingkong 發(fā)表于 2022-9-22 17:56
再逐個(gè)看看PHP版本的提示是啥。從目前看,都跟DNS這個(gè)詞有關(guān)。
PHP5.6什么都看看。如果始終錯(cuò)誤統(tǒng)一,就看 ...
laoxie 發(fā)表于 2023-5-15 07:48
安全設(shè)置,這個(gè)可以具體一點(diǎn)嗎?
mingkong 發(fā)表于 2023-5-15 12:25
換PHP版本看看。
如果是有些PHP內(nèi)置函數(shù)不能執(zhí)行,可能是空間所在的環(huán)境安全軟件對(duì)一些特定函數(shù)進(jìn)行了阻 ...
laoxie 發(fā)表于 2023-5-15 12:28
換了PHP7.2就可以。php7.4和php8.0都出錯(cuò)。 用的是寶塔的lnmp環(huán)境。
mingkong 發(fā)表于 2023-5-15 13:25
有些程序的PHP語(yǔ)法不兼容高版本的PHP環(huán)境。要想使用,需要對(duì)出錯(cuò)的語(yǔ)句舉行升級(jí)兼容才行。 ...
false001 發(fā)表于 2023-5-15 22:12
樓主,如果你把這些dns相關(guān)的方法給刪除掉,會(huì)如何呢?
我認(rèn)為,校驗(yàn)dns有點(diǎn)多余,估計(jì)是用于反向檢驗(yàn)域名 ...
歡迎光臨 Discuz! 官方交流社區(qū) (http://www.9999xn.com/) | Powered by Discuz! W1.0 |