Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35296 closed request (wontfix)

Should new php53-fpm and php54-fpm symlink to php-fpm?

Reported by: kyounger@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: php53

Description

What really threw me off when uninstalling php5 and installing php53-fpm was that /opt/local/bin/php-fpm wasn't cleaned up, and continued to function, looking at /opt/local/etc/php-fpm.conf

I noticed that php53-fpm installs to /opt/local/sbin/php-fpm53, but isn't symlinked to /opt/local/bin/php-fpm -- should it do this upon sudo port select php php53?

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; kyounger@… removed
Resolution: wontfix
Status: newclosed

php53-fpm and php54-fpm are the first MacPorts ports that provide fpm. If /opt/local/bin/php-fpm exists, it's because you made changes to the php5 or installed it there manually somehow, so MacPorts can't clean that up for you.

The php53-fpm and php54-fpm ports can be installed simultaneously. This is desirable. Making both of them install the same symlink would make them conflict with one another, which is not desirable.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

"sudo port select php php53" can only provide symlinks for things that are installed by the php53 port. We could conceivable add a php-fpm_select port so that you could then "sudo port select php-fpm php53-fpm" but I don't see any particular value to doing so. Configure your web server to use the specific version(s) of php you want to make available.

comment:3 Changed 12 years ago by kyounger@…

Hah. You're right. It had been so long, I forgot that I built my own 5.3.10 Portfile that created php-fpm for me.

The php_select makes sense. Thanks for the feedback.

Note: See TracTickets for help on using tickets.