freeCodeCamp/guide/chinese/php/php-install/index.md

29 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: PHP Install
localeTitle: PHP安装
---
### 我需要安装什么?
要开始使用PHP您可以
找到支持PHP和MySQL的Web主机。 在您自己的PC上安装Web服务器然后安装PHP和MySQL。 您可以查看以下链接以获取PHP服务器和MYSQL以便为PHP运行创建本地envinonment Web服务器https//httpd.apache.org/download.cgi 数据库https//www.mysql.com/downloads/
### PHP解析器安装
在继续之前确保在计算机上进行适当的环境设置以使用PHP开发Web程序非常重要。
在浏览器的地址栏中键入以下地址。
```shell
http://127.0.0.1/info.php
```
如果这显示一个显示PHP安装相关信息的页面则表示您已正确安装了PHP和Webserver。
### 在自己的PC上设置PHP
但是如果您的服务器不支持PHP您必须 安装Web服务器 安装PHP 安装数据库例如MySQ。
### 更多信息
官方PHP网站PHP.net有PHP的安装说明http//php.net/manual/en/install.php 要在单个包中同时获取Web服务器和数据库请使用以下链接https//www.mamp.info/en/