You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After copying parallel to php-src/ext/parallel/ dir and build PHP, we will get php-config script with empty PHP_VERSION variable.
It seems that PHP_VERSION=$($PHP_CONFIG --vernum) returns an empty value in in-tree build mode, because there is no php-config at this time. This will cause the code to become PHP_VERSION=, and finally the PHP version recorded in config.status after configure is completed is empty.
Perhaps we can change the variable name (such as PARALLEL_PHP_VERSION), or consider the $PHP_VERSION variable that already exists in in-tree build.
The text was updated successfully, but these errors were encountered:
would you mind trying your in-tree build with the changes from #334?
I tried locally already and it looked good so far, if you can confirm this PR solving your problem I'd merge.
parallel/config.m4
Line 17 in 853798d
After copying parallel to
php-src/ext/parallel/
dir and build PHP, we will getphp-config
script with empty PHP_VERSION variable.It seems that
PHP_VERSION=$($PHP_CONFIG --vernum)
returns an empty value in in-tree build mode, because there is nophp-config
at this time. This will cause the code to becomePHP_VERSION=
, and finally the PHP version recorded inconfig.status
afterconfigure
is completed is empty.Perhaps we can change the variable name (such as
PARALLEL_PHP_VERSION
), or consider the$PHP_VERSION
variable that already exists in in-tree build.The text was updated successfully, but these errors were encountered: