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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 + 33 = ?
Subscribe to this entry?

 
 [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 09:01:31 2024 UTC