We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af1e14 commit cf61c96Copy full SHA for cf61c96
scripts/build-php.ts
@@ -911,6 +911,13 @@ openssl.capath =
911
function createUnixPhpIni(installPrefix: string, config: BuildConfig): void {
912
const phpIniPath = join(installPrefix, 'lib', 'php.ini')
913
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
+
921
// Create comprehensive php.ini content for Unix builds
922
const phpIniContent = `; PHP Configuration File
923
; Generated automatically for Launchpad PHP build (Unix)
0 commit comments