Skip to content

Commit 7cd9509

Browse files
committed
PHP-master: opcache is no longer optional
Since PHP 8.5, opcache is no longer an optional extension to enable. See [PHP 8.5: Opcache extension no longer optional](https://php.watch/versions/8.5/opcache-bundled)
1 parent c9abf99 commit 7cd9509

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,15 @@ runs:
270270
sudo chmod 777 /etc/php.d
271271
cd ../
272272
273-
- name: Enable opcache
273+
- name: Install opcache
274274
shell: bash
275+
if: inputs.branch == 'PHP-8.4'
275276
run: |
276277
echo zend_extension=opcache.so >> /etc/php.d/opcache.ini
278+
279+
- name: Enable opcache
280+
shell: bash
281+
run: |
277282
echo opcache.enable=1 >> /etc/php.d/opcache.ini
278283
echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
279284

0 commit comments

Comments
 (0)