OpenBSD의 pecl 명령

4497 단어 phppeclopenbsd
* 표지 이미지는 Arcaion의 원본이며 감사히 편집했습니다.


PECL은 "PHP 확장 커뮤니티 라이브러리"입니다.
OpenBSD 에서 와 같은 일부 PECL 라이브러리는 포트 패키지로 사용할 수 있습니다.
그러나 때때로 pecl 명령 자체를 사용해야 할 수도 있습니다. 예를 들어 제 경우에는 포트에 존재하지 않는 PECLMongoDB 확장자를 설치하는 것이었습니다.
pecl 명령을 활성화하려면 "PHP Extensions and Add-on Repository"이고 pear-utils와 함께 제공되는 pear를 설치하기만 하면 됩니다.

$ doas pkg_add pear
quirks-3.326 signed on 2020-09-22T20:03:15Z
pear-1.10.9:pear-utils-1.10.9: ok
pear-1.10.9: ok


그럼 당신은 😉 :

$ pecl version   
PEAR Version: 1.10.7
PHP Version: 7.3.22
Zend Engine Version: 3.3.22
Running on: OpenBSD ... 6.7 GENERIC#6 amd64

$ pecl help    
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
channel-alias          Specify an alias to a channel name
channel-delete         Remove a Channel From the List
channel-discover       Initialize a Channel from its server
channel-info           Retrieve Information on a Channel
channel-login          Connects and authenticates to remote channel server
channel-logout         Logs out from the remote channel server
channel-update         Update an Existing Channel
clear-cache            Clear Web Services Cache
config-create          Create a Default configuration file
config-get             Show One Setting
config-help            Show Information About Setting
config-set             Change Setting
config-show            Show All Settings
convert                Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff                Run a "cvs diff" for all files in a package
cvstag                 Set CVS Release Tag
download               Download Package
download-all           Downloads each available package from the default channel
info                   Display information about a package
install                Install Package
list                   List Installed Packages In The Default Channel
list-all               List All Packages
list-channels          List Available Channels
list-files             List Files In Installed Package
list-upgrades          List Available Upgrades
login                  Connects and authenticates to remote server [Deprecated in favor of channel-login]
logout                 Logs out from the remote server [Deprecated in favor of channel-logout]
makerpm                Builds an RPM spec file from a PEAR package
package                Build Package
package-dependencies   Show package dependencies
package-validate       Validate Package Consistency
pickle                 Build PECL Package
remote-info            Information About Remote Packages
remote-list            List Remote Packages
run-scripts            Run Post-Install Scripts bundled with a package
run-tests              Run Regression Tests
search                 Search remote package database
shell-test             Shell Script Test
sign                   Sign a package distribution file
svntag                 Set SVN Release Tag
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages [Deprecated in favor of calling upgrade with no parameters]
Usage: pecl [options] command [command-options] <parameters>
Type "pecl help options" to list all options.
Type "pecl help shortcuts" to list all command shortcuts.
Type "pecl help version" or "pecl version" to list version information.
Type "pecl help <command>" to get the help for the specified command.

좋은 웹페이지 즐겨찾기