Skip to content

Commit 5e362d3

Browse files
committed
use normal php
1 parent b86bd2c commit 5e362d3

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

config/templates/craft.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ php-version: {{ php_version }}
2626
{%- endif -%}
2727

2828
{# Ensure minimum builtin extensions are always present: merge + unique #}
29-
{%- set required_min_str = 'filter,phar,calendar,ctype,opcache,session,sockets,openssl' -%}
29+
{%- set required_min_str = 'filter,phar,calendar,ctype,opcache,session,sockets' -%}
3030
{%- set required_min = required_min_str|split(',')|map(v => v|trim) -%}
3131
{%- for req in required_min -%}
3232
{%- if req not in extensions -%}

src/package/pie.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ public function getVersion(): string
2424
// Ensure artifacts exist and get the staged phar path
2525
[$pharSource] = $this->prepareArtifacts();
2626

27-
$phpBin = BUILD_BIN_PATH . '/php';
28-
if (!file_exists($phpBin)) {
29-
throw new \RuntimeException('php binary not found at ' . $phpBin);
30-
}
31-
32-
$proc = new Process([$phpBin, $pharSource, '-V']);
27+
$proc = new Process(['php', $pharSource, '-V']);
3328
$proc->setTimeout(2);
3429
$proc->run();
3530
if (!$proc->isSuccessful()) {

0 commit comments

Comments
 (0)