You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by gi...@apache.org on 2019/01/19 12:45:15 UTC
[incubator-netbeans-website] branch asf-site updated: Automated
site publishing by Jenkins build 411
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 1df37cd Automated site publishing by Jenkins build 411
1df37cd is described below
commit 1df37cd9415b5632b5f17986b741a0ff23fa8a3b
Author: jenkins <bu...@apache.org>
AuthorDate: Sat Jan 19 12:45:13 2019 +0000
Automated site publishing by Jenkins build 411
---
.../docs/php/configure-php-environment-ubuntu.html | 109 +++++++--------------
1 file changed, 35 insertions(+), 74 deletions(-)
diff --git a/content/kb/docs/php/configure-php-environment-ubuntu.html b/content/kb/docs/php/configure-php-environment-ubuntu.html
index 5b10623..20e4c0c 100644
--- a/content/kb/docs/php/configure-php-environment-ubuntu.html
+++ b/content/kb/docs/php/configure-php-environment-ubuntu.html
@@ -81,43 +81,23 @@
<div id="toc" class="toc">
<div id="toctitle"></div>
<ul class="sectlevel1">
-<li><a href="#_installing_the_software">Installing the Software</a>
+<li><a href="#_configuring_the_php_development_environment_in_linux_ubuntu">Configuring the PHP Development Environment in Linux Ubuntu</a>
<ul class="sectlevel2">
-<li><a href="#lamp">Installing the Software Packages Together</a></li>
-<li><a href="#separate-packages">Installing the Software Packages Separately</a></li>
+<li><a href="#_installing_the_software">Installing the Software</a></li>
<li><a href="#"> </a></li>
-<li><a href="#_checking_the_installation">Checking the Installation</a></li>
-<li><a href="#troubleshooting">Troubleshooting</a></li>
-</ul>
-</li>
-<li><a href="#_specifying_the_document_root_for_the_apache2_http_server">Specifying the Document Root for the Apache2 HTTP Server</a>
-<ul class="sectlevel2">
-<li><a href="#_creating_the_document_root_location">Creating the Document Root Location</a></li>
-<li><a href="#_creating_a_new_virtual_host">Creating a New Virtual Host</a></li>
-<li><a href="#_activating_the_new_virtual_host">Activating the New Virtual Host</a></li>
-</ul>
-</li>
+<li><a href="#_specifying_the_document_root_for_the_apache2_http_server">Specifying the Document Root for the Apache2 HTTP Server</a></li>
<li><a href="#_configuring_the_mysql_database_server">Configuring the MySQL Database Server</a></li>
-<li><a href="#_installing_and_enabling_the_xdebug_debugger">Installing and Enabling the XDebug Debugger</a>
-<ul class="sectlevel2">
-<li><a href="#xdebug-package">Installing the XDebug Package (Ubuntu 8.05 and later)</a></li>
-<li><a href="#_building_xdebug_from_sources_ubuntu_7_10">Building XDebug from Sources (Ubuntu 7.10)</a></li>
-<li><a href="#_enabling_xdebug">Enabling XDebug</a></li>
+<li><a href="#_installing_and_enabling_the_xdebug_debugger">Installing and Enabling the XDebug Debugger</a></li>
</ul>
</li>
</ul>
</div>
-<div id="preamble">
+<div class="sect1">
+<h2 id="_configuring_the_php_development_environment_in_linux_ubuntu">Configuring the PHP Development Environment in Linux Ubuntu</h2>
<div class="sectionbody">
<div class="paragraph">
<p>This tutorial shows how to configure the PHP development environment in the Ubuntu operating system (7.10 and later). This involves installing and configuring the PHP engine, a MySQL database, an Apache web server, and the XDebug debugger.</p>
</div>
-<div class="imageblock">
-<div class="content">
-<img src="images/netbeans-stamp-80-74-73.png" alt="netbeans stamp 80 74 73">
-</div>
-<div class="title">Figure 1. Content on this page applies to the NetBeans IDE 7.2, 7.3, 7.4 and 8.0</div>
-</div>
<div class="paragraph">
<p><strong>To follow this tutorial, you need the following software and resources.</strong></p>
</div>
@@ -134,10 +114,6 @@
</thead>
<tbody>
<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://netbeans.org/downloads/index.html">NetBeans IDE</a></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">PHP download bundle</p></td>
-</tr>
-<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">A PHP engine</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Version 5.</p></td>
</tr>
@@ -158,11 +134,8 @@
<div class="paragraph">
<p>Typically, development and debugging is performed on a local web server, while the production environment is located on a remote web server. Setting up a remote web server is described in <a href="./remote-hosting-and-ftp-account.html">+ Deploying a PHP Application on a Remote Web Server Using the NetBeans IDE+</a>. This tutorial has you set up a local web server. PHP support can be added to a number of local web servers (IIS, Xitami, and so on), but most commonly <a href="http://http [...]
</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="_installing_the_software">Installing the Software</h2>
-<div class="sectionbody">
+<div class="sect2">
+<h3 id="_installing_the_software">Installing the Software</h3>
<div class="paragraph">
<p>This tutorial shows how to configure the PHP development environment in Ubuntu 7.04 and later. You need to:</p>
</div>
@@ -185,8 +158,8 @@
<div class="paragraph">
<p>See the <a href="https://help.ubuntu.com/community/ApacheMySQLPHP">Ubuntu community</a> for more information on installing Apache, MySQL, and PHP.</p>
</div>
-<div class="sect2">
-<h3 id="lamp">Installing the Software Packages Together</h3>
+<div class="sect3">
+<h4 id="lamp">Installing the Software Packages Together</h4>
<div class="paragraph">
<p>Ubuntu provides a Linux AMP (LAMP) package that contains all the necessary packages for your PHP environment. You can install the software by executing the following command at the command prompt in the Terminal window:</p>
</div>
@@ -199,8 +172,8 @@
<p>The <code>lamp-server</code> package includes the most suitable version of PHP, Apache 2, MySQL, and PHP5-MySQL.</p>
</div>
</div>
-<div class="sect2">
-<h3 id="separate-packages">Installing the Software Packages Separately</h3>
+<div class="sect3">
+<h4 id="separate-packages">Installing the Software Packages Separately</h4>
<div class="paragraph">
<p>Instead of installing the entire set of LAMP packages, you can also install the packages individually. This is useful if you already have installed one of the components, such as the Apache server or MySQL database server. You can use command-line tools or the Synaptic Package Manager GUI.</p>
</div>
@@ -224,12 +197,11 @@
</ul>
</div>
</div>
-<div class="sect2">
-<h3 id=""> </h3>
-
</div>
<div class="sect2">
-<h3 id="_checking_the_installation">Checking the Installation</h3>
+<h3 id=""> </h3>
+<div class="sect3">
+<h4 id="_checking_the_installation">Checking the Installation</h4>
<div class="paragraph">
<p>After you set up your PHP web stack, check that it is installed correctly and that your Apache server recognizes your PHP engine.</p>
</div>
@@ -238,8 +210,8 @@
image::images/ubuntu-phpinfo.png[]</p>
</div>
</div>
-<div class="sect2">
-<h3 id="troubleshooting">Troubleshooting</h3>
+<div class="sect3">
+<h4 id="troubleshooting">Troubleshooting</h4>
<div class="paragraph">
<p>The following are some frequently encountered problems when checking the installation of your PHP stack in Ubuntu:</p>
</div>
@@ -260,10 +232,8 @@ image::images/ubuntu-phpinfo.png[]</p>
</div>
</div>
</div>
-</div>
-<div class="sect1">
-<h2 id="_specifying_the_document_root_for_the_apache2_http_server">Specifying the Document Root for the Apache2 HTTP Server</h2>
-<div class="sectionbody">
+<div class="sect2">
+<h3 id="_specifying_the_document_root_for_the_apache2_http_server">Specifying the Document Root for the Apache2 HTTP Server</h3>
<div class="paragraph">
<p>The Document Root is the directory where the Apache HTTP server takes files for displaying in the browser. The Document Root is specified in the file that defines your virtual host. The default virtual host configuration file is</p>
</div>
@@ -296,8 +266,8 @@ image::images/ubuntu-phpinfo.png[]</p>
</li>
</ul>
</div>
-<div class="sect2">
-<h3 id="_creating_the_document_root_location">Creating the Document Root Location</h3>
+<div class="sect3">
+<h4 id="_creating_the_document_root_location">Creating the Document Root Location</h4>
<div class="olist arabic">
<ol class="arabic">
<li>
@@ -312,8 +282,8 @@ image::images/ubuntu-phpinfo.png[]</p>
</ol>
</div>
</div>
-<div class="sect2">
-<h3 id="_creating_a_new_virtual_host">Creating a New Virtual Host</h3>
+<div class="sect3">
+<h4 id="_creating_a_new_virtual_host">Creating a New Virtual Host</h4>
<div class="olist arabic">
<ol class="arabic">
<li>
@@ -385,8 +355,8 @@ gedit</code> application and edit the new configuration file ( <code>mysite</co
</ol>
</div>
</div>
-<div class="sect2">
-<h3 id="_activating_the_new_virtual_host">Activating the New Virtual Host</h3>
+<div class="sect3">
+<h4 id="_activating_the_new_virtual_host">Activating the New Virtual Host</h4>
<div class="olist arabic">
<ol class="arabic">
<li>
@@ -413,10 +383,8 @@ gedit</code> application and edit the new configuration file ( <code>mysite</co
</div>
</div>
</div>
-</div>
-<div class="sect1">
-<h2 id="_configuring_the_mysql_database_server">Configuring the MySQL Database Server</h2>
-<div class="sectionbody">
+<div class="sect2">
+<h3 id="_configuring_the_mysql_database_server">Configuring the MySQL Database Server</h3>
<div class="paragraph">
<p>During the installation of the MySQL database server, a root user is created. A dialog opens during installation in which you set a root user password. If this dialog did not open, or you did not set a password in this dialog, you need to create a MySQL root user password now. You will need the password for creating other MySQL server users.</p>
</div>
@@ -450,21 +418,19 @@ gedit</code> application and edit the new configuration file ( <code>mysite</co
</div>
</div>
</div>
-</div>
-<div class="sect1">
-<h2 id="_installing_and_enabling_the_xdebug_debugger">Installing and Enabling the XDebug Debugger</h2>
-<div class="sectionbody">
+<div class="sect2">
+<h3 id="_installing_and_enabling_the_xdebug_debugger">Installing and Enabling the XDebug Debugger</h3>
<div class="paragraph">
<p>The following steps are required only if you want to use XDebug, which is optional for PHP development. XDebug is an extension to PHP. NetBeans IDE uses it automatically when it is configured correctly for your PHP web stack. For more information on XDebug and NetBeans IDE, see <a href="./debugging.html">Debugging PHP Source Code in the NetBeans IDE</a>. Also see the <a href="http://wiki.netbeans.org/HowToConfigureXDebug">NetBeans wiki page on XDebug</a>.</p>
</div>
-<div class="sect2">
-<h3 id="xdebug-package">Installing the XDebug Package (Ubuntu 8.05 and later)</h3>
+<div class="sect3">
+<h4 id="xdebug-package">Installing the XDebug Package (Ubuntu 8.05 and later)</h4>
<div class="paragraph">
<p>Starting in Ubuntu 8.05, an XDebug package is available, named <code>php5-xdebug</code> . The supported version of XDebug is 2.0.3-1. You can install it with command-line tools or through the Synaptic Package Manager UI. After you install XDebug, you have to modify <code>php.ini</code> as described in <a href="#enableXDebug">Enabling XDebug</a>.</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_building_xdebug_from_sources_ubuntu_7_10">Building XDebug from Sources (Ubuntu 7.10)</h3>
+<div class="sect3">
+<h4 id="_building_xdebug_from_sources_ubuntu_7_10">Building XDebug from Sources (Ubuntu 7.10)</h4>
<div class="paragraph">
<p>To build XDebug from sources you need two additional modules: PHP5 Development and PEAR.</p>
</div>
@@ -529,8 +495,8 @@ You can also install the modules by running the following command in the Termina
</div>
</div>
</div>
-<div class="sect2">
-<h3 id="_enabling_xdebug">Enabling XDebug</h3>
+<div class="sect3">
+<h4 id="_enabling_xdebug">Enabling XDebug</h4>
<div class="paragraph">
<p>To enable XDebug, you need to edit the php.ini file in the <a href="#gedit"><code>gedit</code> </a> text processor.</p>
</div>
@@ -560,11 +526,6 @@ xdebug.remote_enable=on</code></pre>
<div class="paragraph">
<p>Check <a href="http://2bits.com/articles/setting-up-xdebug-dbgp-for-php-on-debian-ubuntu.html">+ here+</a> for more details on configuring XDebug.</p>
</div>
-<div class="paragraph">
-<p>To send comments and suggestions, get support, and keep informed on the latest developments on the NetBeans IDE PHP development features, <a href="../../../community/lists/top.html">join the users@php.netbeans.org mailing list</a>.</p>
-</div>
-<div class="paragraph">
-<p><a href="../../trails/php.html">Back to the PHP Learning Trail</a></p>
</div>
</div>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists