Opened 11 years ago
Last modified 11 years ago
#42410 closed defect
php5: php-config.1.gz already exists and does not belong to a registered port — at Version 1
Reported by: | veltenheyn@… | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | php5 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I get following if i install php55 and then try to install php5 (to get pecl running as it is somehow not included in php55).
Error: org.macports.activate for port php5 returned: Image error: /opt/local/share/man/man1/php-config.1.gz already exists and does not belong to a registered port. Unable to activate port php5. Use 'port -f activate php5' to force the activation.
When I do a 'sudo port contents php55 the file '/opt/local/share/man/man1/php-config.1.gz' is listed. So it should be registered, or not? Should I use 'port -f activate php5' or fix the problem another way?
Change History (1)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | base → ports |
---|---|
Description: | modified (diff) |
Keywords: | php55 php5 removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | php5 added |
Priority: | Not set → Low |
Summary: | php5 conflicts with php55 → php5: php-config.1.gz already exists and does not belong to a registered port |
Note: See
TracTickets for help on using
tickets.
Why do you need to run pecl manually, and why do you think you need the php5 port to do so -- why is the php55 port insufficient for that? If there is a php module you need that does not have a port in MacPorts, please file a port request ticket so that we can add it to MacPorts.
"port contents php55" should not list php-config.1.gz. It should list php-config55.1.gz. Please verify. php5 should not conflict with php55, and does not on my system.
MacPorts says php-config.1.gz already exists and does not belong to a registered port. You're the only one who can explain why that might be so. You can force the activation of php5 if you like, but if you have rogue php5 files on your system already, who knows how many other rogue files you have.
Note that php5 is the "old" MacPorts php world from years ago and is deprecated and will eventually be removed. php53, php54, php55, php56 is the "new" php world which you should be using instead.