how to install phpvirtualbox with php 7.2

Dale Scott dalescott at
Fri Oct 12 03:38:35 UTC 2018

Hi all, the phpvirtualbox port depends on php 7.1 while I have php 7.2
installed. The dependencies are fairly basic and I already have the needed
php 7.2 modules installed. Is it possible to force pkg to ignore the
dependencies and use my already installed php 7.2?





dale at whizzer:~ % php --version

PHP 7.2.10 (cli) (built: Sep 20 2018 01:15:17) ( NTS )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies


dale at whizzer:~ % sudo pkg install phpvirtualbox

Updating FreeBSD repository catalogue...

FreeBSD repository is up to date.

All repositories are up to date.

The following 7 package(s) will be affected (of 0 checked):


New packages to be INSTALLED:

        phpvirtualbox: 5.2.0_1

        php71-session: 7.1.22

        php71: 7.1.22

        php71-xml: 7.1.22

        php71-simplexml: 7.1.22

        php71-soap: 7.1.22

        php71-json: 7.1.22


Number of packages to be installed: 7


The process will require 39 MiB more space.

6 MiB to be downloaded.


Proceed with this action? [y/N]: n

dale at whizzer:~ %


dale at whizzer:~ % uname -a

FreeBSD 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0:
Thu Sep 27 08:16:24 UTC 2018
root at  amd64

dale at whizzer:~ %






Dale R. Scott, P.Eng.

Web: <> 

LinkedIn:  <>



Mobile: +1 (403) 923-4605


More information about the freebsd-questions mailing list