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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eth at ethaniel dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Dec 27 12:01:29 2024 UTC