php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-04-17 07:27 UTC] eth at ethaniel dot com
Description:
------------
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/


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-17 18:20 UTC] derick@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC