个人工具

“沙盒”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 +
PHP is a general-purpose scripting language suited for Web development. PHP scripts can be embedded into HTML. This section explains how to install and configure PHP in an Ubuntu System with Apache2 and MySQL.
  
# [http://httpd.apache.org/docs/2.4/ Apache2 Documentation] 包含有关Apache2配置指令的深度信息。也可以参考''apache2-doc''中相关的Apache2官方文档。
+
This section assumes you have installed and configured Apache2 Web Server and MySQL Database Server. You can refer to the Apache2 and MySQL sections in this document to install and configure Apache2 and MySQL respectively.
# 参看[http://www.modssl.org/docs/ Mod SSL Documentation]站点以发现更多的SSL相关信息。
+
 
# O'Reilly's [http://shop.oreilly.com/product/9780596001919.do Apache Cookbook] 是一个跟好的资源以完成特别的Apache2配置。
+
=Installation=
# 有关Ubuntu Apache2的问题,可以问''#ubuntu-server'' IRC channel on [http://freenode.net/ freenode.net].
+
 
# 有关PHP和MySQL的集成问题[https://help.ubuntu.com/community/ApacheMySQLPHP Apache MySQL PHP Ubuntu Wiki]是一个很好的资源。
+
PHP is available in Ubuntu Linux. Unlike python and perl, which are installed in the base system, PHP must be added.  
 +
 
 +
# To install PHP and the Apache PHP module you can enter the following command at a terminal prompt: <br/><code style="background-color:lightgray">sudo apt install php libapache2-mod-php
 +
</code>

2016年6月12日 (日) 09:31的版本

PHP is a general-purpose scripting language suited for Web development. PHP scripts can be embedded into HTML. This section explains how to install and configure PHP in an Ubuntu System with Apache2 and MySQL.

This section assumes you have installed and configured Apache2 Web Server and MySQL Database Server. You can refer to the Apache2 and MySQL sections in this document to install and configure Apache2 and MySQL respectively.

Installation

PHP is available in Ubuntu Linux. Unlike python and perl, which are installed in the base system, PHP must be added.

  1. To install PHP and the Apache PHP module you can enter the following command at a terminal prompt:
    sudo apt install php libapache2-mod-php