[MacPorts] #45999: php, php_select: manage php-cgi symlinks with php_select (was: manage php-cgi symlinks with php_select)

MacPorts noreply at macports.org
Mon Nov 24 06:50:00 PST 2014


#45999: php, php_select: manage php-cgi symlinks with php_select
------------------------------+--------------------------
  Reporter:  macjoost@…       |      Owner:  ryandesign@…
      Type:  enhancement      |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  php, php_select  |
------------------------------+--------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => ryandesign@…
 * port:   => php, php_select


Comment:

 Thanks for the suggestion. In addition to your patch, the revisions of
 php_select and of the CLI SAPI subports would need to be increased. Also,
 I don't see a php-cgi52 man page either. I guess the man page was added in
 PHP 5.4.

 However, note that the beauty of cgi and fpm is that unlike the
 apache2handler, you can use multiple versions at the same time in the same
 web server. For example, I could set up nginx to talk to multiple PHP FPM
 servers, and which PHP version it chooses could be based on anything, such
 as the hostname or a component of the path.

 I'm not sure how I feel about using the "select" mechanism to switch the
 version of a server. Would you suggest that we add the apache2handler
 module to the "select" mechanism as well?

-- 
Ticket URL: <https://trac.macports.org/ticket/45999#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list