-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHPX安装后再安装swoole_zookeeper 报错 #45
Comments
Could you submit more information? |
好的,这是我具体的操作步骤,您这边可以试着安装以下看看是否是这样的错误: 相继输入以下命令: PHP Fatal error: Uncaught TypeError: Return value of "phpx\Command\Build::execute()" must be of the type int, "null" returned. in phar:///usr/local/bin/phpx/vendor/symfony/console/Command/Command.php:301 当我无视这个错误时,继续输入命令: 虽然还是报这个错误: 但是在: PHP Fatal error: Uncaught ErrorException: Creation of dynamic property Swoole_ZooKeeper::$handle is deprecated in /www/wwwroot/hyperf-skeleton/vendor/hyperf/config-zookeeper/src/Client.php:25 这个好像是php8.2不支持动态属性添加导致的 |
php版本是8.1的,我安装好了phpx 后在 ext-zookeeper下 执行安装命令:phpx build -v -d 后报错:
PHP Fatal error: Uncaught TypeError: Return value of "phpx\Command\Build::execute()" must be of the type int, "null" returned. in phar:///usr/local/bin/phpx/vendor/symfony/console/Command/Command.php:301
Stack trace:
#0 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
swoole/phpx#1 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
swoole/phpx#2 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
swoole/phpx#3 phar:///usr/local/bin/phpx/console.php(17): Symfony\Component\Console\Application->run()
swoole/phpx#4 /usr/local/bin/phpx(10): include('...')
swoole/phpx#5 {main}
thrown in phar:///usr/local/bin/phpx/vendor/symfony/console/Command/Command.php on line 301
这个错误我真不知道该怎么解决了,我换成8.0的版本也不行,烦请大佬帮我看一下
The text was updated successfully, but these errors were encountered: