Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.0 RC4 available for testing
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
安装前需要考虑的事项 »
« 下一步做什么?
PHP 手册
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
安装与配置
安装前需要考虑的事项
在 Unix 系统上安装 PHP
Debian GNU/Linux 及其相关发行版上从软件包中安装 PHP
Installing from packages on GNU/Linux distributions that use DNF
OpenBSD 上从软件包或者 ports 中安装 PHP
Installing from source on Unix and macOS systems
CGI 和命令行设置
Unix 系统下的 Apache 2.x
Unix 系统下的 Nginx 1.4.x
Unix 平台的 Lighttpd 1.4
Unix 系统下的 LiteSpeed、OpenLiteSpeed Web 服务器
针对 Solaris 的安装提示
macOS 系统下的安装
在 MacOS 上使用第三方包安装
在 macOS 下编译 PHP
使用 macOS Monterey 之前内置的 PHP
Windows 系统下的安装
Windows 系统下的推荐配置
手动安装预编译的二进制文件
在Windows系统上安装 Apache 2.x
Windows 上与 IIS 安装
用于安装 PHP 的第三方工具
从源程序编译
在 Windows 系统的命令行上运行 PHP
云计算平台上的安装
Azure 应用服务
Amazon EC2
DigitalOcean
FastCGI 进程管理器(FPM)
安装
配置
PECL 扩展安装
PECL 安装介绍
下载 PECL 扩展库
在 Windows 上安装 PHP 扩展
用 PEAR 编译共享 PECL 扩展库
用 phpize 编译共享 PECL 扩展库
php-config
将 PECL 扩展库静态编译入 PHP
运行时配置
配置文件
.user.ini 文件
配置可被设定范围
怎样修改配置设定
改进此页面
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google