[Bug 516061] Re: configure command line missing from phpinfo

2014-07-11 Thread Hugh G. Rection
This affects whoever needs to detect the state of the interpreter their code is 
running in, much like ini_get() is used to get ini settings.
In my case, I need to detect if PHP was compiled with --enable-sigchild so that 
I know how to handle proc_close() calls.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2014-07-11 Thread Hugh G. Rection
For now, there is an inconvenient and inefficient workaround:

Execute process 'php-config --configure-options' and parse the output.
But that'll probably not work in Windows.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2013-02-15 Thread Robert Guinness
** Changed in: php5 (Ubuntu)
   Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2013-02-15 Thread Robert Guinness
I agree with those commenting in favor of including config info. I tried
reading through debian/rules, and it is still unclear to me what the
configuration of the compiled php is on my machine. For many users who
aren't super familiar with shell scripts, it is difficult to garner this
information from this file. I would like to recompile php with some
uneeded extensions removed, but it is difficult to know how exactly I
should change the configuration command, since I don't know what
configuration I'm starting from.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2013-01-24 Thread Arkadiy Kukarkin
(that should be --enable-debug)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2013-01-24 Thread Arkadiy Kukarkin
I think removing standard, expected information as to not "confuse"
users is a bad move; issues with ambiguity in the build options are
entirely separate from accurately displaying what they actually are.

Consider this use case: I need to build php with --debug and --disable-
zend-memory-manager to use with valgrind, but now I have to *manually*
recover the build string from the individual options in order to
approximate the configuration I am actually trying to debug.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2012-07-08 Thread G9283
Simply saying "peruse debian/rules" doesn't help much.

It isn't clear at all. The debian/rules file is 761 lines long.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/516061

Title:
  configure command line missing from phpinfo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/516061/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-04-28 Thread Adam Conrad
The removal of Configure Command from phpinfo was intentional, see
debian/patches/052-phpinfo_no_configure.patch

In short, it led to many (many!) bugs from users claiming that extension
X, Y, or Z wasn't built for PHP in Debian/Ubuntu, do to entirely
misinterpreting what the string actually means.

If you want to see how PHP is built in Ubuntu, "apt-get source php5",
and peruse debian/rules, the ./configure output in phpinfo() is, as the
changelog for the patch states, entirely misleading and not terribly
informative.

** Changed in: php5 (Ubuntu)
   Status: Confirmed => Invalid

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-02-03 Thread Chuck Short
** Changed in: php5 (Ubuntu)
   Importance: Undecided => Low

** Changed in: php5 (Ubuntu)
   Status: New => Confirmed

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-02-02 Thread Dominik
I can see several benefits to its presence in the output:
1) educational
2) as a starting point for a new PHP compilation ... basically get that line, 
modify what you need and you'll be able to recompile PHP


Below a sample output from a CentOS 5 installation:

# php -i
phpinfo()
PHP Version => 5.1.6

System => Linux localhost.localdomain 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 
07:39:04 EST 2010 i686
Build Date => Jan 13 2010 17:05:38
Configure Command =>  './configure' '--build=i686-redhat-linux-gnu' 
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' 
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' 
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' 
'--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' 
'--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' 
'--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' 
'--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' 
'--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' 
'--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' 
'--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' 
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' 
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' 
'--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' 
'--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' 
'--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' 
'--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' 
'--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' 
'--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' 
'--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' 
'--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' 
'--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/lib/mysql/mysql_config' 
'--enable-dom=shared' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' 
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' 
'--with-xsl=shared,/usr' '--enable-xmlreader=shared' 
'--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' 
'--with-pdo-odbc=shared,unixODBC,/usr' 
'--with-pdo-mysql=shared,/usr/lib/mysql/mysql_config' 
'--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' 
'--enable-dbase=shared'

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-02-02 Thread Ondřej Surý
And what do you need it for?

As I said before, since every SAPI is compiled with different options
(modules are built only once), it's output is practically useless.

So what information do you expect to be there and you are missing right
now?

It probably an upstream build script failure, which fails to reflect
it's being build in separate directory.

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-02-02 Thread Dominik
php -i and phpinfo() are commenly used to check for the exact configure
options passed to PHP ... so basically users expect this output to be
there.

Also, the official PHP documentation mentions it.
http://ca3.php.net/phpinfo contains in particular

INFO_GENERAL1The configuration line, php.ini location, build
date, Web Server, System and more.

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 516061] Re: configure command line missing from phpinfo

2010-02-02 Thread Ondřej Surý
Why is that important and should be fixed?

./configure line is different for each SAPI anyway.

-- 
configure command line missing from phpinfo
https://bugs.launchpad.net/bugs/516061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs