Skip to content
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

macOS does not support mongodb extension #281

Open
tanhongbin-php opened this issue Nov 30, 2023 · 1 comment
Open

macOS does not support mongodb extension #281

tanhongbin-php opened this issue Nov 30, 2023 · 1 comment
Labels
bug Something isn't working kind/extension Issues related to extensions wip Work In Process

Comments

@tanhongbin-php
Copy link

tanhongbin-php commented Nov 30, 2023

checking PHP version... [08:57:07] [ERRO] Uncaught SPC\exception\RuntimeException: Command run failed with code[1]: cd '/app/source/php-src' && ./configure --prefix= --with-valgrind=no --enable-shared=no --enable-static=yes --disable-all --disable-cgi --disable-phpdbg --enable-cli --disable-fpm --disable-embed --disable-micro --enable-apcu --enable-bcmath --enable-calendar --enable-ctype --with-curl --enable-dba --enable-dom --with-libxml="/app/buildroot" --enable-exif --enable-filter --enable-fileinfo --with-zlib --with-zlib-dir="/app/buildroot" --enable-gd --with-iconv="/app/buildroot" --enable-intl --enable-mbstring --enable-mysqlnd --with-mysqli --with-openssl=/app/buildroot --with-openssl-dir=/app/buildroot --enable-opcache --enable-pcntl --enable-pdo --with-pdo-mysql --with-sqlite3="/app/buildroot" --with-pdo-sqlite --with-pgsql="/app/buildroot" --with-pdo-pgsql="/app/buildroot" --enable-phar --enable-posix --with-readline="/app/buildroot" --enable-session --enable-redis --enable-redis-session --enable-simplexml --with-libxml="/app/buildroot" --enable-sockets --with-sodium --enable-tokenizer --enable-xml --with-libxml="/app/buildroot" --enable-xmlreader --with-libxml="/app/buildroot" --enable-xmlwriter --with-libxml="/app/buildroot" --with-xsl="/app/buildroot" --with-zip="/app/buildroot" --with-xlswriter --enable-reader --enable-shmop --enable-mongodb --with-mongodb-system-libs=no --with-mongodb-client-side-encryption=no --with-mongodb-sasl=no --with-mongodb-ssl=openssl --with-mongodb-icu=yes --with-mongodb-zstd=no --with-mongodb-zlib=yes --with-event-core --with-event-extra --with-event-libevent-dir=/app/buildroot --with-event-openssl=/app/buildroot --enable-event-sockets CFLAGS='' LIBS='-ldl -lpthread' at /app/src/globals/functions.php(89)
[08:57:07] [ERRO] #0 /app/src/SPC/util/UnixShell.php(44): f_passthru()
#1 /app/src/SPC/builder/linux/LinuxBuilder.php(174): SPC\util\UnixShell->exec()
#2 /app/src/SPC/command/BuildCliCommand.php(96): SPC\builder\linux\LinuxBuilder->buildPHP()
#3 /app/src/SPC/command/BaseCommand.php(83): SPC\command\BuildCliCommand->handle()
#4 /app/vendor/symfony/console/Command/Command.php(326): SPC\command\BaseCommand->execute()
#5 /app/vendor/symfony/console/Application.php(1063): Symfony\Component\Console\Command\Command->run()
#6 /app/vendor/symfony/console/Application.php(320): Symfony\Component\Console\Application->doRunCommand()
#7 /app/vendor/symfony/console/Application.php(174): Symfony\Component\Console\Application->doRun()
#8 /app/bin/spc(15): Symfony\Component\Console\Application->run()
#9 {main}
Error: Process completed with exit code 1.
只要带有这个扩展就会报错 php8.1

@crazywhalecc crazywhalecc added bug Something isn't working need test This PR has not been tested yet, cannot merge now kind/extension Issues related to extensions labels Nov 30, 2023
@crazywhalecc crazywhalecc removed the need test This PR has not been tested yet, cannot merge now label Dec 14, 2023
@crazywhalecc
Copy link
Owner

最近我会更新一次,在 Linux 可以支持 mongodb,但 macOS 因为一些比较复杂的问题暂无法解决。

@crazywhalecc crazywhalecc added the wip Work In Process label Dec 14, 2023
@crazywhalecc crazywhalecc changed the title 打包带有mongodb 扩展 有bug macOS does not support mongodb extension Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kind/extension Issues related to extensions wip Work In Process
Projects
None yet
Development

No branches or pull requests

2 participants