本帖最后由 chnz 于 2022-9-6 22:14 编辑
老师您好,我去查看了一下,没有安装扩展,我随后进行了安装,然后进行卸载,现在还是有大量报错和警告信息
Nginx 1.20.2
PHP-7.2.33
CentOS 7.9.2009 x86_64(Py3.7.8)
随后这会儿又重新安装bt_safe插件
报错如下:
- PHP Warning: Unexpected character in input: '
- ' (ASCII=11) state=0 in /dev/shm/e54be932-6828-4aa2-a348-7c47b1c9d01a.txt on line 70
- PHP Warning: Unexpected character in input: '' (ASCII=5) state=0 in /dev/shm/e54be932-6828-4aa2-a348-7c47b1c9d01a.txt on line 70
- PHP Parse error: syntax error, unexpected '帥' (T_STRING) in /dev/shm/e54be932-6828-4aa2-a348-7c47b1c9d01a.txt on line 70
- PHP Warning: Unexpected character in input: '' (ASCII=31) state=0 in /dev/shm/fd47bc91-75b0-416c-b66a-6e8348904152.txt on line 133
- PHP Parse error: syntax error, unexpected '? (T_STRING) in /dev/shm/fd47bc91-75b0-416c-b66a-6e8348904152.txt on line 133
- PHP Parse error: syntax error, unexpected ':', expecting end of file in /dev/shm/46db6b52-a73e-4344-89cc-a71f1684af80.txt on line 372
- PHP Parse error: syntax error, unexpected '$瘳' (T_VARIABLE) in /dev/shm/ba61ea6f-19f1-4e8d-a5a1-dc836b7cdd79.txt on line 952
复制代码
随后网上搜索报错提到的php配置也是没有效果
在php.ini中设置short_open_tag = On(原始设置)
卸载bt-safe扩展后报错如下:
- PHP Warning: Unexpected character in input: ' in /dev/shm/20c4694d-2d6e-4f81-9d5f-c1f67189d6ac.txt on line 62
- PHP Parse error: syntax error, unexpected '? (T_STRING) in /dev/shm/20c4694d-2d6e-4f81-9d5f-c1f67189d6ac.txt on line 62
- PHP Warning: PHP Startup: Unable to load dynamic library '/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/bt_safe.so' (tried: /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/bt_safe.so (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/bt_safe.so: cannot open shared object file: No such file or directory), /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/bt_safe.so.so (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/bt_safe.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
- PHP Warning: Unexpected character in input: '
- ' (ASCII=11) state=0 in /dev/shm/b8f9e17b-d745-4fda-80e9-9a92e2bf8bab.txt on line 761
- PHP Parse error: syntax error, unexpected '強' (T_STRING) in /dev/shm/b8f9e17b-d745-4fda-80e9-9a92e2bf8bab.txt on line 761
复制代码
|