跳转至内容

PHP 包指南

来自 ArchWiki
Arch 软件包指南

32位CLRCMake交叉编译DKMSEclipseElectron字体Free PascalGNOMEGoHaskellJavaKDE内核模块LispMesonMinGWNode.js非免费OCamlPerlPHPPythonRRubyRust - 安全ShellVCSWebWine

本文档涵盖了创建 PHP 库的 PKGBUILD。本文档的目标读者是 PHP 库的打包者。有关 PHP Web 应用程序,请参阅 Web 应用程序包指南

包名称

对于模块,包名称应以 php- 开头,其余名称应由库名称转换而来,转换为小写并用连字符分隔单词。例如,对应于 File iterator 的包名称将是 php-file-iterator

包文件存放位置

PHP 包应将文件安装到 /usr/share/php/。此路径应在 php.iniinclude_pathopen_basedir 指令中,以便在 PHP Web 应用程序中包含库文件。

Architecture

在大多数情况下,arch 数组应包含 any,因为大多数 PHP 包都与架构无关。

© . This site is unofficial and not affiliated with Arch Linux.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.