php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41031 Side by side install of CGI and CLI
Submitted: 2007-04-09 22:12 UTC Modified: 2007-05-24 23:32 UTC
From: david at acz dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5.2.1 OS: Linux
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: david at acz dot org
New email:
PHP Version: OS:

 

 [2007-04-09 22:12 UTC] david at acz dot org
Description:
------------
The following options would be helpful:

  --with-cgi-suffix=-cgi
  --with-cli-suffix=-cli

This would allow the CGI and CLI binaries to be installed at the same time as is possible with other SAPIs:

  bin/php-cgi
  bin/php-cli

Only one of the two options is actually needed, but having both is nice.

A workaround is available but messy:

  make install
  mv $PREFIX/bin/php $PREFIX/bin/php-cgi
  make install-cli



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-24 23:32 UTC] sniper@php.net
Fixed in CVS. (CGI is always installed as php-cgi also in *nix)
And 'make install' installs CLI too, no need to do 'make install-cli' anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 05:01:31 2024 UTC