php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31858 configure --help is not correct
Submitted: 2005-02-06 00:56 UTC Modified: 2005-02-07 13:52 UTC
From: ortho at mail dot dk Assigned: sniper (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 4.3.10 OS: nix
Private report: No CVE-ID: None
 [2005-02-06 00:56 UTC] ortho at mail dot dk
Description:
------------
configure --help says

"--disable-cli   Disable building CLI version of PHP (this forces --without-pear)."

and when doing a configure with 

--disable-cgi
--disable-cli
--enable-discard-path
--disable-ipv6
--enable-safe-mode

it says:

"PEAR requires CLI to be enabled. Add --enable-cli to the configure line (or "--disable-pear)."

the second thing is that --help shows

"--with-pear=DIR   OR --without-pear"

and not the syntax "--disable-pear"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-06 01:51 UTC] edink@php.net
Jani, you "fixed" this so please update the help messages as well.
 [2005-02-06 06:51 UTC] sniper@php.net
What was the full configure line you used?

 [2005-02-06 08:33 UTC] ortho at mail dot dk
./configure \
--prefix=/usr/php4310 \
--with-apxs2=/usr/apache2/bin/apxs \
--disable-cgi \
--disable-cli \
--enable-discard-path \
--disable-ipv6 \
--enable-safe-mode \
--without-pear \
--without-mysql

allso need
--more-coffee
(lol)
 [2005-02-06 08:57 UTC] ortho at mail dot dk
no - wait - the last line:

--without-mysql

was NOT present before I found out that i needed it !
(actually went out of bed to post...)
 [2005-02-07 13:25 UTC] sniper@php.net
There is also '--disable-all' option which disables almost everything..

 [2005-02-07 13:52 UTC] sniper@php.net
and btw. both --disable-pear and --without-pear work.
There is compatibility code in configure.in for it.

I have now fixed the code to work like advertized:

--disable-cli will force --without-pear now.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC