User Tools

Site Tools


tips:hypervisor:bsdvb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:hypervisor:bsdvb [2019/09/09 19:22]
adminkume [Installing phpVirtualBox via pkg]
tips:hypervisor:bsdvb [2019/09/09 19:50] (current)
adminkume
Line 195: Line 195:
  
  
 +=====Installing apache24 & php72=====
 +<​code>​
 +# pkg install phpvirtualbox
 +>>>>​Check for php version:7.2
 +>>>>​Type N 
 +
 +# pkg install apache24
 +
 +# sysrc apache24_enable=YES
 +# /​usr/​local/​etc/​rc.d/​apache24 start
 +
 +# pkg install mod_php72
  
-=====Installing phpVirtualBox via pkg===== 
-<​code>​ 
-# pkg install php72 
 New packages to be INSTALLED: New packages to be INSTALLED:
-        ​php72: 7.2.22 +        ​mod_php72: 7.2.22 
-        ​libargon220171227_1 +Number of packages to be installed1 
-Proceed with this action? ​[y/N]: y+[activating module `php7' in /usr/​local/​etc/​apache24/​httpd.conf] 
 +Message from mod_php72-7.2.22: 
 +****************************************************************************** 
 +Make sure index.php is part of your DirectoryIndex. 
 +You should add the following to your Apache configuration file: 
 +<​FilesMatch "​\.php$">​ 
 +    SetHandler application/​x-httpd-php 
 +</​FilesMatch>​ 
 +<​FilesMatch "​\.phps$">​ 
 +    SetHandler application/​x-httpd-php-source 
 +</​FilesMatch> ​                                                                                                    
 + 
 + 
 +# joe /​usr/​local/​etc/​apache24/​Includes/​php7.conf 
 + 
 +<​FilesMatch "​\.php$">​ 
 +    SetHandler application/​x-httpd-php 
 +</​FilesMatch>​ 
 +<​FilesMatch "​\.phps$">​ 
 +    SetHandler application/​x-httpd-php-source 
 +</​FilesMatch> ​                                                                                                    
  
 # pkg install php72-extensions # pkg install php72-extensions
Line 226: Line 256:
         php72-iconv:​ 7.2.22         php72-iconv:​ 7.2.22
         php72-phar: 7.2.22         php72-phar: 7.2.22
-Proceed with this action? [y/N]: y 
  
 +# pkg install php72-soap
 +Message from php72-soap-7.2.22:​
 +This file has been added to automatically load the installed extension:
 +/​usr/​local/​etc/​php/​ext-20-soap.ini
 +</​code>​
  
 +=====Installing webmin=====
  
  
 +=====Installing phpVirtualBox via pkg=====
 +<​code>​
 # pkg install phpvirtualbox # pkg install phpvirtualbox
- +</code>
-New packages to be INSTALLED:​ +
-        phpvirtualbox:​ 5.2.1 +
-        php72-session:​ 7.2.22 +
-        php72: 7.2.22 +
-        libargon2: 20171227_1 +
-        php72-xml: 7.2.22 +
-        php72-simplexml:​ 7.2.22 +
-        php72-soap: 7.2.22 +
-        php72-json: 7.2.22 +
- +
-Number of packages to be installed: 8 +
- +
-The process will require 41 MiB more space. +
-6 MiB to be downloaded. +
- +
-Proceed with this action? [y/N]: y +
---<中略>-- +
- +
- +
- +
-=====Installing apache24 & php===== +
- +
-=====Installing webmin===== +
- +
- +
  
 ==This Document is in writing : Draft..........== ==This Document is in writing : Draft..........==
tips/hypervisor/bsdvb.txt · Last modified: 2019/09/09 19:50 by adminkume