We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60448a6 commit 5af8e51Copy full SHA for 5af8e51
overlay/tmp/install
@@ -13,11 +13,15 @@ def main [] {
13
let packages = [
14
$"($prefix)=($version)"
15
$"($prefix)-fpm=($version)"
16
- $"($prefix)-opcache=($version)"
17
$"($prefix)-session=($version)"
18
]
19
bf pkg install $packages
20
+ # opcache is part of PHP >= 8.5
21
+ if not ($version | bf version is_at_least "8.5.0") {
22
+ bf pkg install [$"($prefix)-opcache=($version)"]
23
+ }
24
+
25
# create symlinks so PHP can be called on the commandline using php and php-fpm
26
let php = "/usr/bin/php"
27
let fpm = "/usr/sbin/php-fpm"
0 commit comments