FreeBSD 14
Sponsored Link

PHP 8.3 : インストール2024/01/30

 

PHP 8.3 をインストールします。

[1] PHP 8.3 をインストールします。
root@dlp:~ #
pkg install -y php83

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        php83: 8.3.1

Number of packages to be installed: 1

The process will require 26 MiB more space.
4 MiB to be downloaded.

.....
.....

root@dlp:~ #
php -v

PHP 8.3.1 (cli) (built: Jan  6 2024 01:47:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.1, Copyright (c) Zend Technologies

# テストスクリプトを作成して動作確認

root@dlp:~ #
echo '<?php echo `php -i`."\n"; ?>' > php_test.php

root@dlp:~ #
php php_test.php

phpinfo()
PHP Version => 8.3.1

System => FreeBSD node01.srv.world 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Build Date => Jan  6 2024 01:42:28
Build System => FreeBSD 140amd64-quarterly-job-13 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 amd64
.....
.....
関連コンテンツ