php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39696 php -i & config.nice show './configure' 'dummy' 'grep' 'ggrep' !?
Submitted: 2006-11-30 17:20 UTC Modified: 2006-12-01 01:49 UTC
From: yvov at comcast dot net Assigned: tony2001 (profile)
Status: Closed Package: *Compile Issues
PHP Version: 4.4.5-dev (200611302330) OS: Debian 4.0 (etch)
Private report: No CVE-ID: None
 [2006-11-30 17:20 UTC] yvov at comcast dot net
Description:
------------
This is in regards to bug #39004 which was opened up against the PHP 5.2.0 code. This bug applies to 4.4.4 as well as I just got the same thing. 

Using Debian 4.0 / etch (testing)
GCC 4.1.1
autoconf 2.60a

Compile flags used:
-march=prescott -O3 -fomit-frame-pointer -pipe

Configure command used:
./configure --with-zip --with-pspell --enable-mbstring --with-iconv --with-mcrypt=/usr --with-gd --with-mysql=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib --with-gdbm --enable-dba --with-oci8=/home/oracle/oraclehome --with-iodbc=/usr/local/openlink/odbcsdk --with-cpdflib=/usr/local --with-xml --with-mnogosearch --with-pdflib=/usr/local --enable-memory_limit --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file=/usr/local/lib/php.ini --with-libxml-dir=/usr/lib --enable-track-vars --with-shmop

Got the same exact problem. Both config.nice show these lines and php -i | grep Configure

Reproduce code:
---------------
Deleted ./configure in source and used ./buildconf --force to rebuild configure (recommended when installing PDFlib, per http://www.pdflib.com/fileadmin/pdflib/pdf/support/PDFlib-in-PHP-HowTo.pdf).

Expected result:
----------------
I expected to see this when I pulled up a phpinfo.php page, ran the php -i command or viewed the config.nice file in the source directory:

./configure --with-zip --with-pspell --enable-mbstring --with-iconv --with-mcrypt=/usr --with-gd --with-mysql=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib --with-gdbm --enable-dba --with-oci8=/home/oracle/oraclehome --with-iodbc=/usr/local/openlink/odbcsdk --with-cpdflib=/usr/local --with-xml --with-mnogosearch --with-pdflib=/usr/local --enable-memory_limit --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file=/usr/local/lib/php.ini --with-libxml-dir=/usr/lib --enable-track-vars --with-shmop

Actual result:
--------------
However this is what I see in a phpinfo.php page, ran the php -i command or viewed the config.nice file in the source directory:

 './configure' 'dummy' 'grep' 'ggrep' 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-30 17:52 UTC] yvov at comcast dot net
I compiled using the latest STABLE file and this is what php -i shows me:

Configure Command =>  './configure' '--with-zip' '--with-pspell' '--enable-mbstring' '--with-iconv' '--with-mcrypt=/usr' '--with-gd' '--with-mysql=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib' '--with-gdbm' '--enable-dba' '--with-oci8=/home/oracle/oraclehome' '--with-iodbc=/usr/local/openlink/odbcsdk' '--with-cpdflib=/usr/local' '--with-xml' '--with-mnogosearch' '--with-pdflib=/usr/local' '--enable-memory_limit' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-config-file=/usr/local/lib/php.ini' '--with-libxml-dir=/usr/lib' '--enable-track-vars' '--with-shmop' './configure' 'dummy' 'grep' 'ggrep'

So it seems to now include garbage output at the end of the configure line.
 [2006-11-30 18:11 UTC] tony2001@php.net
First of all, make sure your config.nice did not contain those lines.
 [2006-11-30 18:14 UTC] yvov at comcast dot net
It didn't at all. These are the commands I issued per my bash history file:

  534  rm ./configure
  535  ./buildconf --force
  536  ./configure --with-zip --with-pspell --enable-mbstring --with-iconv --with-mcrypt=/usr --with-gd --with-mysql=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib --with-gdbm --enable-dba --with-oci8=/home/oracle/oraclehome --with-iodbc=/usr/local/openlink/odbcsdk --with-cpdflib=/usr/local --with-xml --with-mnogosearch --with-pdflib=/usr/local --enable-memory_limit --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file=/usr/local/lib/php.ini --with-libxml-dir=/usr/lib --enable-track-vars --with-shmop
  537  make
  538  make install && /usr/local/apache2/bin/apachectl stop && sleep 1 && /usr/local/apache2/bin/apachectl start

Yvo
 [2006-11-30 22:14 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2006-12-01 01:49 UTC] yvov at comcast dot net
Confirmed. The bug has been resolved.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 21:01:32 2024 UTC