|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #44751 "configure command" line in phpinfo() annoying
Submitted: 2008-04-17 07:27 UTC Modified: 2008-04-17 18:20 UTC
From: eth at ethaniel dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 5.2.5 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: eth at ethaniel dot com
New email:
PHP Version: OS:


 [2008-04-17 07:27 UTC] eth at ethaniel dot com
The phpinfo() outputs a line with the "configure command" which looks like this

'./configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/'

Notice all the 's, why add them? They make it impossible to just copy-paste this command to the command line and make any changes to it.

I propose removing those ' characters and just leave:

./configure --with-layout=GNU --with-config-file-scan-dir=/usr/local/etc/php --disable-all --enable-libxml --with-libxml-dir=/usr/local --enable-reflection --program-prefix= --enable-fastcgi --with-regex=php --with-zend-vm=CALL --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-17 18:20 UTC]
Uh, it copies and pastes just fine for me... it's exactly the same thing that's in config.nice. I don't see how those quotes are a problem for copy&paste at all.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 11 06:01:24 2021 UTC