Working on a new server build, I've noted that php 5.6 is out of its active maintenance window. I'd like to get something of a jump on things and install www/wordpress with php 7.0 dependencies (as I don't see php71 in the 11.0-RELEASE AMD64 quarterly repo).
I've tried a few contortions of how to do this, including a handy script that finds the dependencies and updates them to the php70 versions, but can't seem to try to find an order of events that doesn't end up with wordpress pulling in all the php56 versions.
I've tried as many combinations of install/remove -f that I can think of, while trying to change the package origin at various points with this little script
with no success.
Is there a way to do this without creating my own package locally?
I've tried a few contortions of how to do this, including a handy script that finds the dependencies and updates them to the php70 versions, but can't seem to try to find an order of events that doesn't end up with wordpress pulling in all the php56 versions.
I've tried as many combinations of install/remove -f that I can think of, while trying to change the package origin at various points with this little script
Code:
PKG=pkg
# PKG='echo pkg'
for dep in $( pkg -j wordpress rquery %do wordpress ) ; do
new_dep=$( echo $dep | sed -n s/php56/php70/p )
if [ ! -z "${new_dep}" ] ; then
${PKG} -j wordpress set -o ${dep}:${new_dep}
fi
done
with no success.
Is there a way to do this without creating my own package locally?