-
Notifications
You must be signed in to change notification settings - Fork 24
Add support php7.3 #148
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
Add support php7.3 #148
Conversation
|
Use tabs instead of spaces. -> OK |
Then don't modify it?
My bad, overlooked Nevertheless LGTM |
What is the result? |
@bigbes fyi, this runs fine for us (bm) on debian stretch + php7.0 and debian buster + php7.3 @SonSergei thanks much. |
I found that it doesn't work on PHP ZTS, tested on version 7.3.10 and got: (/usr/lib64/php-zts/modules/tarantool.so: undefined symbol: compiler_globals)) in Unknown on line 0 |
@rybakit I can not reproduce, can you help?
|
@SonSergei I've just rechecked it and it indeed works 👍 : docker run --rm -it fedora:30 bash
dnf install php-devel php-zts git make
git clone --branch=php7.3 --depth=1 https://github.com/SonSergei/tarantool-php.git /usr/src/php-tarantool
cd /usr/src/php-tarantool
phpize && ./configure --with-php-config=/usr/bin/zts-php-config && make && make install I think I forgot to pass |
Another thing, now I get a @SonSergei if you want to investigate it, clone this repo, install make clean bench-parallel-connectors UPDATE: a full reproducer: git clone --depth=1 https://github.com/tarantool-php/benchmarks
cd benchmarks
docker run -d --network host --name=tarantool-bench -v $PWD/bench.lua:/bench.lua tarantool/tarantool:2 tarantool /bench.lua
docker run --network host -v $PWD:/benchmarks --rm -it fedora:30 bash
dnf install -y php-devel php-zts php-opcache php-composer-installers git make which
git clone --branch=php7.3 --depth=1 https://github.com/SonSergei/tarantool-php.git /usr/src/php-tarantool
cd /usr/src/php-tarantool
phpize && ./configure --with-php-config=/usr/bin/zts-php-config && make && make install
git clone --depth=1 https://github.com/msgpack/msgpack-php.git /usr/src/ext-msgpack
cd /usr/src/ext-msgpack
phpize && ./configure --with-php-config=/usr/bin/zts-php-config && make && make install
git clone --depth=1 https://github.com/krakjoe/parallel.git /usr/src/ext-parallel
cd /usr/src/ext-parallel
phpize && ./configure --with-php-config=/usr/bin/zts-php-config && make && make install
cd /benchmarks
make clean bench-parallel-connectors |
@rybakit Thanks a lot for catching this! I reproduced it on php 7.2 without the patch, so the problem is not the regression from the patch. Filed separate issue: #152. I prepared the environment for PHP 7.2 ZTS (with thread safety) with
I tried to reproduce it with valgrind, but it is VERY slow (and one-threaded). No luck here for now. |
Superseded by PR #153. |
No description provided.