|  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
configure --help says

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

and when doing a configure with 


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"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-06 01:51 UTC]
Jani, you "fixed" this so please update the help messages as well.
 [2005-02-06 06:51 UTC]
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 \

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


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

 [2005-02-07 13:52 UTC]
and btw. both --disable-pear and --without-pear work.
There is compatibility code 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 Jul 20 07:01:28 2024 UTC