|
213.
|
|
|
Mod SSL Documentation
|
|
|
|
Documentação do Mod SSL
|
|
Translated and reviewed by
Lucien Rocha Lucien
|
|
|
|
Located in
serverguide/C/web-servers.xml:496(ulink)
|
|
214.
|
|
|
PHP5 - Scripting Language
|
|
|
|
PHP5 - Linguagem de Scripts
|
|
Translated and reviewed by
Welliton Sá
|
|
|
|
Located in
serverguide/C/web-servers.xml:664(title)
|
|
215.
|
|
|
PHP is a general-purpose scripting language suited for Web development. The PHP script can be embedded into HTML. This section explains how to install and configure PHP5 in Ubuntu System with Apache2 and MySQL.
|
|
|
|
PHP é uma linguagem de scripts de propósito geral adequada para desenvolvimento Web. Os scripts PHP podem ser embutidos em HTML. Esta seção explica como instalar e configurar PHP5 num Sistema Ubuntu com Apache2 e MySQL.
|
|
Translated and reviewed by
Welliton Sá
|
|
|
|
Located in
serverguide/C/web-servers.xml:665(para)
|
|
216.
|
|
|
This section assumes you have installed and configured Apache 2 Web Server and MySQL Database Server. You can refer to Apache 2 section and MySQL sections in this document to install and configure Apache 2 and MySQL respectively.
|
|
|
|
Esta seção assume que você já instalou e configurou o Servidor Web Apache 2 e o Servidor de Banco de Dados MySQL. Você pode consultar a seção do Apache 2 e as seções do MySQL neste documento para instalar e configurar o Apache 2 e o MySQL, respectivamente.
|
|
Translated and reviewed by
Welliton Sá
|
|
|
|
217.
|
|
|
The PHP5 is available in Ubuntu Linux.
|
|
|
|
O PHP5 está disponível no Ubuntu Linux.
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:676(para)
|
|
218.
|
|
|
To install PHP5 you can enter the following command in the terminal prompt: <screen>
<command>sudo apt-get install php5 libapache2-mod-php5</command>
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Para instalar o PHP5 você pode entrar o seguinte comando no terminal: <screen>
<command>sudo apt-get install php5 libapache2-mod-php5</command>
</screen>
|
|
Translated by
Leonardo Bernardes
|
|
Reviewed by
Laudeci Oliveira
|
|
|
|
Located in
serverguide/C/web-servers.xml:678(para)
|
|
219.
|
|
|
You can run PHP5 scripts from command line. To run PHP5 scripts from command line you should install <application>php5-cli</application> package. To install <application>php5-cli</application> you can enter the following command in the terminal prompt: <screen>
<command>sudo apt-get install php5-cli</command>
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Você pode executar scripts PHP5 a partir da linha de comando. Para executar scripts PHP5 da linha de comando você deve instalar o pacote <application>php5-cli</application>. Para instalar <application>php5-cli</application> você pode digitar o seguinte comando em um terminal: <screen>
<command>sudo apt-get install php5-cli</command>
</screen>
|
|
Translated and reviewed by
Andre Noel
|
|
|
|
Located in
serverguide/C/web-servers.xml:687(para)
|
|
220.
|
|
|
You can also execute PHP5 scripts without installing PHP5 Apache module. To accomplish this, you should install <application>php5-cgi</application> package. You can run the following command in a terminal prompt to install <application>php5-cgi</application> package: <screen>
<command>sudo apt-get install php5-cgi</command>
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Você pode também executar scripts PHP5 sem instalar o módulo PHP% para o Apache. Para fazer isso, você deve instalar o pacote <application>php5-cgi</application>. Você pode executar o seguinte comando em um terminal para instalar o pacote <application>php5-cgi</application>: <screen>
<command>sudo apt-get install php5-cgi</command>
</screen>
|
|
Translated by
Daniel Neis
|
|
Reviewed by
André Gondim
|
|
|
|
Located in
serverguide/C/web-servers.xml:696(para)
|
|
221.
|
|
|
To use <application>MySQL</application> with PHP5 you should install <application>php5-mysql</application> package. To install <application>php5-mysql</application> you can enter the following command in the terminal prompt: <screen>
<command>sudo apt-get install php5-mysql</command>
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Para usar o <application>MySQL</application> com o PHP5, você deve instalar o pacote <application>php5-mysql</application>. Para instalar o pacote <application>php5-mysql</application>, digite o seguinte comando em um terminal: <screen>
<command>sudo apt-get install php5-mysql</command>
</screen>
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:706(para)
|
|
222.
|
|
|
Similarly, to use <application>PostgreSQL</application> with PHP5 you should install <application>php5-pgsql</application> package. To install <application>php5-pgsql</application> you can enter the following command in the terminal prompt: <screen>
<command>sudo apt-get install php5-pgsql</command>
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Da mesma maneira para usar o <application>PostgreSQL</application> com o PHP5, você deve instalar o pacote <application>php5-pgsql</application>. Para instalar o pacote <application>php5-pgsql</application>, digite o seguinte comando em um terminal: <screen>
<command>sudo apt-get install php5-pgsql</command>
</screen>
|
|
Translated and reviewed by
Alex Rocha
|
|
|
|
Located in
serverguide/C/web-servers.xml:714(para)
|