Skip to content

Conversation

@lucassmacedo
Copy link
Contributor

  • Add 4 new Docker image variants for PHP 8.4:

    • 8.4-oci8-nginx
    • 8.4-oci8-nginx-prod
    • 8.4-oci8-swoole-nginx
    • 8.4-oci8-swoole-nginx-prod
  • Update template to use PECL for PHP >= 8.4

    • OCI8 extension no longer available in PHP core for 8.4+
    • Install via PECL with automatic cleanup of build dependencies
    • Maintain backward compatibility with older versions using docker-php-ext
  • Update fwd-template.json with PHP 8.4 build configurations

  • Update kool.yml with PHP 8.4 build commands

  • Update README.md with PHP 8.4 documentation and links

All images tested and verified with OCI8 3.4.1 and Oracle Client 11.2.0.4.0

- Add 4 new Docker image variants for PHP 8.4:
  * 8.4-oci8-nginx
  * 8.4-oci8-nginx-prod
  * 8.4-oci8-swoole-nginx
  * 8.4-oci8-swoole-nginx-prod

- Update template to use PECL for PHP >= 8.4
  * OCI8 extension no longer available in PHP core for 8.4+
  * Install via PECL with automatic cleanup of build dependencies
  * Maintain backward compatibility with older versions using docker-php-ext

- Update fwd-template.json with PHP 8.4 build configurations
- Update kool.yml with PHP 8.4 build commands
- Update README.md with PHP 8.4 documentation and links

All images tested and verified with OCI8 3.4.1 and Oracle Client 11.2.0.4.0
preg_match('/:(\d+\.\d+)/', $from, $matches);
$phpVersion = isset($matches[1]) ? (float)$matches[1] : 0;
@endphp
@if($phpVersion >= 8.4)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we really need, you could use https://www.php.net/manual/en/function.version-compare.php

like https://github.com/kool-dev/docker-php/blob/master/template/Dockerfile.blade.php#L43

but can you check if this new way works on 8.1+, if so, we can drop 8.0 and just do this way

@dbpolito dbpolito merged commit 79ff90b into kool-dev:main Feb 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants