File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -331,9 +331,20 @@ The descriptions of these items:
331331 'PHP Extension Build' flags in ` php -i `
332332* ` ts|nts ` - Thread-safe or non-thread safe.
333333* ` arch ` - for example ` x86_64 ` .
334- * Windows: ` Architecture ` from ` php -i `
334+ * Windows: use a hint from ` Architecture ` from ` php -i ` (see below)
335335 * non-Windows: check ` PHP_INT_SIZE ` - 4 for 32-bit, 8 for 64-bit.
336336
337+ Note the architecture name will likely need normalising, since different
338+ platforms name architectures differently. PIE expects the following normalised
339+ architectures:
340+
341+ * ` x86_64 ` (normalised from ` x64 ` , ` x86_64 ` , ` AMD64 ` )
342+ * ` arm64 ` (normalised from ` arm64 ` )
343+ * ` x86 ` (any other value)
344+
345+ For the latest map (in case documentation is not up to date), check out
346+ ` \Php\Pie\Platform\Architecture::parseArchitecture ` .
347+
337348#### Contents of the Windows ZIP
338349
339350The pre-built ZIP should contain at minimum a DLL named in the same way as the
You can’t perform that action at this time.
0 commit comments