mingkong 發(fā)表于 2022-9-21 07:54
看看這里的安裝需求是否都滿足
Discuz! X3.5 Beta-20220910 發(fā)布 - Discuz程序發(fā)布 - Powered by Discuz!
h ...
1314學習網(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
挨個換PHP版本看看。看提示就是找不DNS_這個東西
如果測試很多PHP版本仍然是這樣。就要考慮防火墻是不是禁 ...
1314學習網(wǎng) 發(fā)表于 2022-9-22 19:25
我記得寶塔有個地方設置禁止對外訪問,會導致對外請求相關函數(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
還有這個:
https://github.com/oracle/docker-images/tree/main/OracleLinuxDevelopers/oraclelinux8/php ...
專家 發(fā)表于 2022-9-22 22:50
很明顯是環(huán)境問題,與Discuz無關
dns_get_record是php的核心組成部分,這個沒有的話就是環(huán)境有問題。
搞 ...
專家 發(fā)表于 2022-9-22 22:50
很明顯是環(huán)境問題,與Discuz無關
dns_get_record是php的核心組成部分,這個沒有的話就是環(huán)境有問題。
搞 ...
BQQ 發(fā)表于 2022-9-23 08:08
但是這個環(huán)境下的其他網(wǎng)站運行都是良好的。
比如wordpress / thinkphp
BQQ 發(fā)表于 2022-9-23 08:09
同一臺服務器下,同樣的環(huán)境,wordpress / thinkphp 都是運行良好。
BQQ 發(fā)表于 2022-9-22 17:40
這是個啥問題?沒有解決方案嗎?愁啊
mingkong 發(fā)表于 2022-9-22 17:56
再逐個看看PHP版本的提示是啥。從目前看,都跟DNS這個詞有關。
PHP5.6什么都看看。如果始終錯誤統(tǒng)一,就看 ...
laoxie 發(fā)表于 2023-5-15 07:48
安全設置,這個可以具體一點嗎?
mingkong 發(fā)表于 2023-5-15 12:25
換PHP版本看看。
如果是有些PHP內(nèi)置函數(shù)不能執(zhí)行,可能是空間所在的環(huán)境安全軟件對一些特定函數(shù)進行了阻 ...
laoxie 發(fā)表于 2023-5-15 12:28
換了PHP7.2就可以。php7.4和php8.0都出錯。 用的是寶塔的lnmp環(huán)境。
mingkong 發(fā)表于 2023-5-15 13:25
有些程序的PHP語法不兼容高版本的PHP環(huán)境。要想使用,需要對出錯的語句舉行升級兼容才行。 ...
false001 發(fā)表于 2023-5-15 22:12
樓主,如果你把這些dns相關的方法給刪除掉,會如何呢?
我認為,校驗dns有點多余,估計是用于反向檢驗域名 ...
| 歡迎光臨 Discuz! 官方交流社區(qū) (http://www.9999xn.com/) | Powered by Discuz! X5.0 |