PHP 8.5 Opcache is already included #2416

Closed
opened 2026-02-05 04:46:28 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Ennosuke on GitHub (Jan 30, 2026).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

No (this issue will likely be closed automatically)

📜 What is the name of the script you are using?

Koillection

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/koillection.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-17-pve)

📝 Provide a clear and concise description of the issue.

With #11315 Koillection installation was updated to install PHP8.5.

However it was not taken into account that with PHP8.5 opcache is part of the main build and no longer is shipped separately. Source

The opcache extension is set as a common extension in the setup_php function, it would be better if there was a gate to check whether it's php8.5 or newer to prevent this error.

🔄 Steps to reproduce the issue.

Step1: Try to install Koillection

Paste the full error output (if available).

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Error: Unable to locate package php8.5-opcache
Error: Couldn't find any package by glob 'php8.5-opcache'

🖼️ Additional context (optional).

No response

Originally created by @Ennosuke on GitHub (Jan 30, 2026). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? No (this issue will likely be closed automatically) ### 📜 What is the name of the script you are using? Koillection ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/koillection.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-17-pve) ### 📝 Provide a clear and concise description of the issue. With #11315 Koillection installation was updated to install PHP8.5. However it was not taken into account that with PHP8.5 opcache is part of the main build and no longer is shipped separately. [Source](https://www.php.net/manual/en/migration85.incompatible.php#migration85.incompatible.opcache) The opcache extension is set as a common extension in the setup_php function, it would be better if there was a gate to check whether it's php8.5 or newer to prevent this error. ### 🔄 Steps to reproduce the issue. Step1: Try to install Koillection ### ❌ Paste the full error output (if available). WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... Error: Unable to locate package php8.5-opcache Error: Couldn't find any package by glob 'php8.5-opcache' ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 04:46:28 +03:00
Author
Owner

@tremor021 commented on GitHub (Jan 30, 2026):

Good point. Will be adding a check in the setup_php if we are installing PHP > 8.4 and adjust default modules accordingly.

@tremor021 commented on GitHub (Jan 30, 2026): Good point. Will be adding a check in the `setup_php` if we are installing PHP > 8.4 and adjust default modules accordingly.
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 30, 2026):

Is fixed.

@michelroegl-brunner commented on GitHub (Jan 30, 2026): Is fixed.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

This issue has been automatically locked. Please open a new issue for related bugs and reference this issue if needed.

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue has been automatically locked. Please open a new issue for related bugs and reference this issue if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2416