日志:
Warning: Unexpected character in input: '' (ASCII=4) state=0 in /www/wwwroot/shop/app/helpers.php on line 17
Parse error: syntax error, unexpected 'F' (T_STRING) in /www/wwwroot/shop/app/helpers.php on line 17
服务器信息:
php -v && php --ri swoole
PHP 7.4.33 (cli) (built: Oct 16 2023 16:38:38) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
swoole
Swoole => enabled
Author => Swoole Team
Version => 4.8.13
Built => Oct 17 2023 10:13:40
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 3.0.2 15 Mar 2022
dtls => enabled
curl-native => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608
重启服务器还是不行。
PHP配置:
[swoole]
extension = swoole.so
extension = swoole_loader74.so
重启服务器还是不行。
PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader74.so ' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so : cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Unexpected character in input: '' (ASCII=4) state=0 in /www/wwwroot/shop/app/helpers.php on line 17
PHP Parse error: syntax error, unexpected 'F' (T_STRING) in /www/wwwroot/shop/app/helpers.php on line 17
PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader74.so ' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so : cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Unexpected character in input: '' (ASCII=4) state=0 in /www/wwwroot/shop/app/helpers.php on line 17
PHP Parse error: syntax error, unexpected 'F' (T_STRING) in /www/wwwroot/shop/app/helpers.php on line 17
PHP Warning: PHP Startup: Unable to load dynamic library 'swoole_loader74.so ' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so : cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/swoole_loader74.so .so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: Unexpected character in input: '' (ASCII=4) state=0 in /www/wwwroot/shop/app/helpers.php on line 17
PHP Parse error: syntax error, unexpected 'F' (T_STRING) in /www/wwwroot/shop/app/helpers.php on line 17
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}