Bug 219615 - databases/phpMyAdmin: package installs with PHP 5.6 features
Summary: databases/phpMyAdmin: package installs with PHP 5.6 features
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-28 13:33 UTC by MMacD
Modified: 2017-05-28 15:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MMacD 2017-05-28 13:33:56 UTC
The phpMyAdmin package includes various features from PHP 5.6, causing problems for an existing installation of PHP 7.n.  It should be PHP-version agnostic.
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2017-05-28 14:08:53 UTC
I'm afraid that this is a limitation of the ports tree and not something that can be solved through the phpMyAdmin port.

You can add eg.

DEFAULT_VERSIONS+= php=7.0

to your make.conf and build from ports if you want to run php7.
Comment 2 MMacD 2017-05-28 15:55:58 UTC
(In reply to Matthew Seaman from comment #1)
I'm sure it "works as intended", Matthew.  It's the *intention* that's the problem.  

v4.7 (and 4.6 before it) is happy with any php version from 5.6 through 7.1.  So it should not be packaged with any particular version of PHP.  It should expect to find PHP already installed and waiting when it gets there.

Telling me I can build my own copy seems to miss the point.  If we often have to work around the choices made by the ports team, what does that say about those choices?