php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21991 CLI only gets compiled with --with-apxs
Submitted: 2003-01-31 16:47 UTC Modified: 2003-02-13 19:49 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: prencher at prencher dot dk Assigned:
Status: No Feedback Package: *Configuration Issues
PHP Version: 4.3.0 OS: Debian GNU/Linux Sid/Unstable
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: prencher at prencher dot dk
New email:
PHP Version: OS:

 

 [2003-01-31 16:47 UTC] prencher at prencher dot dk
There seems to be a configure bug with php 4.3.0.
When you compile, you dont get the CLI unless you include --with-apxs in the ./configure line.

I confirmed this by having my mates try out different configure lines, they too only got it when configuring with the --with-apxs option enabled.

If this is a global bug I do not know, but it would seem so - One of them is running Mandrake 9.0, the other Red Hat 8.0, and myself Debian Sid/Unstable.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-31 17:19 UTC] helly@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Seems you must have done something more. I tried it myself
and it is working. However i did it with current CVS version. Could you please try that yourself?

If the CVS version behaves the same way i suggest you post your configure line here and it may be necessary to inquire the generated makefile.

However there is another solution for that effect: Did you use --disable-all or --disable-cli for any reason? You can verify that by locking into config.nice.
 [2003-01-31 17:27 UTC] edink@php.net
If you want cli only you should probably just add --disable-cgi as it is cgi that is installed by default when both cgi and cli are selected.

 [2003-01-31 18:27 UTC] philip@php.net
Please read these docs:
  http://www.php.net/features.commandline

And clarify if you meant cli isn't being built at all (as  sapi/cli/php) or if you mean 'make install' isn't putting cli in {prefix}/bin/php because after reading those docs you will realize that you need 'make install-cli' under certain conditions to put it there.  Those docs will explain this confusing issue.
 [2003-02-13 19:49 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 16:01:29 2024 UTC