Bug #72634 [Opn]: Env variables cause empty configure in php-config

From: Date: Thu, 21 Jul 2016 11:11:04 +0000
Subject: Bug #72634 [Opn]: Env variables cause empty configure in php-config
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202471@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72634&edit=1 ID: 72634 User updated by: dkasyanov at cloudlinux dot com Reported by: dkasyanov at cloudlinux dot com Summary: Env variables cause empty configure in php-config Status: Open Type: Bug Package: *Compile Issues Operating System: RHEL6 -PHP Version: 7.0.8 +PHP Version: 7.0.9 Block user comment: N Private report: N New Comment: PHP 7.0.9 is exposed also. Previous Comments: ------------------------------------------------------------------------ [2016-07-21 10:58:03] dkasyanov at cloudlinux dot com The issue is with environment variables containing slash (/) symbol. I have added the patch which escapes slash symbol in environment variables. Please, review it. ------------------------------------------------------------------------ [2016-07-20 19:10:05] dkasyanov at cloudlinux dot com Description: ------------ Related to https://bugs.php.net/bug.php?id=72180 If we are using environment variables such as LDFLAGS ./configure command doesn't write arguments to config.nice and php-config. Also we have empty ./configure string in phpinfo()/php -i. Test script: --------------- # LDFLAGS="-L/opt/alt/pcre/usr/lib64" ./configure --enable-debug # cat config.nice Expected result: ---------------- #! /bin/sh # # Created by configure LDFLAGS='-L/opt/alt/pcre/usr/lib64' \ './configure' \ '--enable-debug' \ "$@" Actual result: -------------- #! /bin/sh # # Created by configure LDFLAGS='-L/opt/alt/pcre/usr/lib64' \ './configure' \ "$@" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72634&edit=1

« previous php.bugs (#202471) next »