Skip to content

Commit cf61c96

Browse files
committed
chore: wip
1 parent 0af1e14 commit cf61c96

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/build-php.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,13 @@ openssl.capath =
911911
function createUnixPhpIni(installPrefix: string, config: BuildConfig): void {
912912
const phpIniPath = join(installPrefix, 'lib', 'php.ini')
913913

914+
// Ensure the lib directory exists
915+
const libDir = join(installPrefix, 'lib')
916+
if (!existsSync(libDir)) {
917+
mkdirSync(libDir, { recursive: true })
918+
log(`🔧 Created lib directory: ${libDir}`)
919+
}
920+
914921
// Create comprehensive php.ini content for Unix builds
915922
const phpIniContent = `; PHP Configuration File
916923
; Generated automatically for Launchpad PHP build (Unix)

0 commit comments

Comments
 (0)