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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Wed Jun 26 08:01:31 2024 UTC