swoole-src: Error Installing Swoole on PHP version > 8.2.6
Please answer these questions before submitting your issue.
- What did you do? If possible, provide a simple script for reproducing the error. Trying to install swoole via a Dockerfile
FROM php:8.2-fpm
RUN pecl install swoole \
    && docker-php-ext-enable swoole
- 
What did you expect to see? Expect for swoole to be install and enabled 
- 
What did you see instead? Uncaught TypeError: fgets(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/lib/php/OS/Guess.php:307 
- 
What version of Swoole are you using (show your php --ri swoole)? Swoole failed to install
- 
What is your machine environment used (show your uname -a&php -v&gcc -v) ? Gitlab ci pipeline
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 20 (6 by maintainers)
@shuqingzai Swoole5.1开始没法支持在32位的系统上编译了,只支持64位的系统