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 678583d Automated site publishing by Jenkins build 481
678583d is described below
commit 678583d256e2ed8d43ded51792e2316a2fd35b72
Author: jenkins <[email protected]>
AuthorDate: Thu Jan 24 21:19:21 2019 +0000
Automated site publishing by Jenkins build 481
---
.../docs/php/configure-php-environment-mac-os.html | 39 ++++++++++++----------
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/content/kb/docs/php/configure-php-environment-mac-os.html
b/content/kb/docs/php/configure-php-environment-mac-os.html
index 0373a73..9970eb9 100644
--- a/content/kb/docs/php/configure-php-environment-mac-os.html
+++ b/content/kb/docs/php/configure-php-environment-mac-os.html
@@ -82,19 +82,14 @@
<div id="toc" class="toc">
<div id="toctitle"></div>
<ul class="sectlevel1">
-<li><a
href="#_configuring_php_apache_mysql_and_xdebug_for_php_development_in_mac_os_x">Configuring
PHP, Apache, MySQL, and Xdebug for PHP development in MAC OS X</a>
-<ul class="sectlevel2">
<li><a href="#_installing_and_configuring_mamp">Installing and Configuring
MAMP</a></li>
<li><a href="#_registering_mamp_s_mysql_database">Registering MAMP’s
MySQL Database</a></li>
<li><a href="#phpProject">Creating PHP Projects</a></li>
<li><a href="#_enabling_xdebug_with_mamp">Enabling Xdebug with MAMP</a></li>
<li><a href="#_debugging_php_projects">Debugging PHP Projects</a></li>
</ul>
-</li>
-</ul>
</div>
-<div class="sect1">
-<h2
id="_configuring_php_apache_mysql_and_xdebug_for_php_development_in_mac_os_x">Configuring
PHP, Apache, MySQL, and Xdebug for PHP development in MAC OS X</h2>
+<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p>This tutorial shows you how to set up PHP on the <a
href="http://www.mamp.info/en/index.php">MAMP</a> (<strong>M*acintosh,</strong>
A*pache, *M*ySQL, *P*HP) package, which includes the Apache web server, the
MySQL database server, and the PHP engine. MAMP is intended as a PHP
development environment for the Mac, which can work seamlessly with the
NetBeans IDE.</p>
@@ -136,8 +131,11 @@ The MAMP package includes the Apache web server, PHP
engine, and MySQL database.
</tr>
</table>
</div>
-<div class="sect2">
-<h3 id="_installing_and_configuring_mamp">Installing and Configuring MAMP</h3>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_installing_and_configuring_mamp">Installing and Configuring MAMP</h2>
+<div class="sectionbody">
<div class="olist arabic">
<ol class="arabic">
<li>
@@ -160,8 +158,10 @@ image::images/mamp-control-panel.png[]
image::images/mamp-control-panel-preferences-ports.png[title="MAMP control
panel with Ports tab, after ports have been changed to default values"]</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_registering_mamp_s_mysql_database">Registering MAMP’s MySQL
Database</h3>
+</div>
+<div class="sect1">
+<h2 id="_registering_mamp_s_mysql_database">Registering MAMP’s MySQL
Database</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>MAMP’s MySQL database is located by default at
<code>/Applications/MAMP/db/MySQL</code>. The default username and password are
both <code>root</code>, which you can verify by viewing the details in
MAMP’s welcome page which opens in a browser when you run MAMP.</p>
</div>
@@ -221,8 +221,10 @@ image::images/socket-path.png[]</p>
</ol>
</div>
</div>
-<div class="sect2">
-<h3 id="phpProject">Creating PHP Projects</h3>
+</div>
+<div class="sect1">
+<h2 id="phpProject">Creating PHP Projects</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>When you create a PHP project in the IDE using MAMP’s resources, you
should specify that the IDE copy your sources to Apache’s
<code>htdocs</code> folder. That way, when you save your files after making
changes, your sources are automatically updated in the deployed version.</p>
</div>
@@ -242,8 +244,10 @@ image::images/socket-path.png[]</p>
<p>The IDE remembers this location for future projects. For further
instructions on creating PHP projects in NetBeans IDE, see <a
href="project-setup.html">Setting Up a PHP Project</a>.</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_enabling_xdebug_with_mamp">Enabling Xdebug with MAMP</h3>
+</div>
+<div class="sect1">
+<h2 id="_enabling_xdebug_with_mamp">Enabling Xdebug with MAMP</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>MAMP contains a pre-compiled <code>xdebug.so</code> file. To use this
file, enable it in MAMP’s <code>php.ini</code> . Xdebug does not work
together with Zend Optimizer, so you also have to disable Zend Optimizer in
<code>php.ini</code> .</p>
</div>
@@ -303,8 +307,10 @@
image::images/mamp-control-panel-preferences-php.png[title="MAMP Control Panel w
6. Start (or restart) the MAMP Apache server.</p>
</div>
</div>
-<div class="sect2">
-<h3 id="_debugging_php_projects">Debugging PHP Projects</h3>
+</div>
+<div class="sect1">
+<h2 id="_debugging_php_projects">Debugging PHP Projects</h2>
+<div class="sectionbody">
<div class="paragraph">
<p>To debug a PHP project in the IDE, right-click the project in the Projects
window and choose Debug. Alternately, if the project is highlighted in the
Projects window, you can click the Debug Project icon (
image::images/debug-icon.png[] ) in the main toolbar.</p>
</div>
@@ -331,7 +337,6 @@
image::images/mamp-control-panel-preferences-php.png[title="MAMP Control Panel w
</div>
</div>
</div>
-</div>
<section class='tools'>
<ul class="menu align-center">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists