Skip to content

Commit 050fa3d

Browse files
committed
chore: wip
1 parent 2948663 commit 050fa3d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/build-php.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,15 @@ function generateConfigureArgs(config: BuildConfig, installPrefix: string): stri
285285
`--with-sodium=${launchpadPath}/libsodium.org/v1.0.18`,
286286
`--with-xsl=${launchpadPath}/gnome.org/libxslt/v1.1.43`,
287287
`--with-zlib=${launchpadPath}/zlib.net/v1.3.1`,
288-
`--with-bz2=${launchpadPath}/bzip.org/v1.0.8`
288+
`--with-bz2=${launchpadPath}/sourceware.org/bzip2/v1.0.8`,
289+
`--with-iconv=${launchpadPath}/gnu.org/libiconv/v1.18.0`
289290
]
290291

291292
// Platform-specific arguments
292293
if (config.platform === 'darwin') {
293294
return [
294295
...baseArgs,
295296
...dependencyArgs,
296-
'--with-iconv',
297297
'--enable-opcache',
298298
'--with-kerberos',
299299
'--with-libedit',
@@ -305,7 +305,6 @@ function generateConfigureArgs(config: BuildConfig, installPrefix: string): stri
305305
return [
306306
...baseArgs,
307307
...dependencyArgs,
308-
'--with-iconv', // Use system iconv on Linux
309308
'--enable-opcache',
310309
'--with-kerberos',
311310
'--with-readline',
@@ -486,7 +485,7 @@ max_file_uploads = 20
486485
extension_dir = "ext"
487486
488487
; Zend Extensions (must be loaded first)
489-
zend_extension=opcache
488+
zend_extension=php_opcache
490489
491490
; Enable essential extensions
492491
${essentialExtensions

0 commit comments

Comments
 (0)