IZ-WAMP is a WAMP package combining the latest stable versions of Windows x64, Apache, MySQL and PHP.In addition, IZ-WAMP embeds the latest version of differents CMS.In this way, you can manage your site on your local machine and offline without a network connection. A good way to work on improvements and a redesign of the site securely before switching it online.
To develop PHP webapps, you need to setup Apache, MySQL and PHP, in a so called LAMP (Linux/Apache/MySQL/PHP), WAMP (Windows/Apache/MySQL/PHP), or MAMP (Mac OS/Apache/MySQL/PHP) environment, for your operating platform.
There are two ways of setting up LAMP/WAMP/MAMP:
For beginners running on Windows/Mac OS, I certainly recommend the bundle approach for simplicity (although they might not bundled the latest releases). These are the bundles available:
I shall describe how to install and setup some of these bundles in Section 'LAMP/WAMP/MAMP Servers'.
You also need to install an IDE, such as Eclipse PHP Development Tool (PDT). Read Section 'How to install Eclipse PDT'.
You need to setup these debugging tools and be familiar with:
Read Section 'Debugging PHP Webapps'.
I shall assume that you have some basic knowledge on these programming languages. Otherwise, read the relevant sections.
Set up a Version Control System, such as Git, for backup, version control and collaboration. Read 'How to setup and get started with Git'.
In this section, I shall briefly describe how to install and customize some of the AMP bundles. To install individual components, read 'How to install and get start with Apache', 'How to install and get started with MySQL'.
The XAMPP (stands for Cross-platform, Apache, MySQL, PHP and Perl @ https://www.apachefriends.org/index.html) bundles Apache, MySQL, PHP and Perl, for Windows, Linux and Mac OS. It also includes FileZilla FTP Server, Mercury Mail Server, and Tomcat Server; plus tools PhpMyAdmin, Webalizer, and Fake Sendmail.
At the time of writing, XAMPP 1.8.3 bundles PHP 5.5.15, Apache 2.4.10, MySQL 5.6.20 and PhpMyAdmin 4.2.7.1.
xampp-win32-1.8.3-5-VC11-installer.exe
).d:xampp
', denoted as <XAMPP_HOME>
, in this article....
)....
', denoted as <XAMPP_HOME>
, in this article.Launch the 'XAMPP Control Panel' ('xampp-control.exe
' for Windows, @@To Check ... MAC OS) under the XAMPP installed directory. A little icon appears in the Icon Tray. Right-click on the icon ⇒ 'Show/Hide' to show the 'full' Control Panel Window.
The XAMPP Control Panel allows you to start/stop each of these servers: Apache HTTP Server, MySQL Database Server, FileZilla FTP Server, Mercury Mail Server, and Tomcat HTTP Server. You can also check their configurations ('Config'), logs ('Logs') and launch the administrator tools such as PhpMyAdmin for MySQL ('Admin').
By default, a directory called 'htdocs
' was created under the XAMPP installed directory, which serves as the Apache's document root directory.
To verify the installation, launch the XAMPP Control Panel. Start the Apache and MySQL servers by clicking the 'Start' buttons.
http://localhost
' to get the welcome page. Select your language, which leads you to the XAMPP home page (under 'htdocs/xampp
'). You can now verify all the components by clicking on the info links on the left panel, e.g., phpinfo()
for PHP, perlinfo()
for Perl, PhpMyAdmin for MySQL.http://localhost/phpmyadmin
' to access the MySQL via PhpMyAdmin. Select the 'Users' tab. which reveals that no password is set for the superuser root
and the anonymous user. (You can also click the 'Admin' button under MySQL to launch PhpMyAdmin.)To shutdown XAMPP, stop all the services and press 'Quit'.
By default, the Apache's document root directory is located at '<XAMPP_HOME>/htdocs
'. Use a programming editor (such as notepad++ for Windows, or gedit for Ubuntu/Mac OS) to write a simple PHP script called 'hello.php
' and save under the 'htdocs
' directory, as follows:
To run this PHP script, start a browser and issue URL http://localhost/hello.php
, assuming that Apache server has been started.
Another Example: Write another PHP script called 'phpinfo.php
' (saved under 'htdocs
') to display the PHP settings under Apache, as follows:
Run the script by issuing URL 'http://localhost/phpinfo.php
'.
XAMPP is organized in the sub-directories. The important ones are:
The Apache's main configuration file 'httpd.conf
' is located at '<XAMPP_HOME>apacheconf
'. Take note of the following configuration directives:
ServerRoot
specifies the apache's installed directory. Listen
specifies the TCP port number for Apache web server, in this case, default of TCP port 80. The DocumentRoot
specifies the root directory of the web server.The PHP's main configuration file 'php.ini
' is located from '<XAMPP_HOME>php
' (as revealed by phpinfo()
output).
[TODO] Explanation
The MySQL's main configuration file 'my.ini
' is located at '<XAMPP_HOME>mysqlbin
'. Take note of the following settings:
mysqld.exe
) The port
specifies the TCP port number for the MySQL server (defaulted to 3306). The basedir
specifies the MySQL installed directory. The datadir
specifies the databases directory. The log-error
specifies the MySQL error log file.mysql
) The default MySQL installation creates a superuser called 'root
' without password. It also provides an anonymous user with no password. You need to
root
'.root
' for normal daily operations. Instead, create a new user (says xampppuser
) for operational use.There are a few ways to administer MySQL, via the graphical client 'PhpMyAdmin', or command-line client 'mysql
'.
http://localhost/phpmyadmin
'. Click the 'Users' tab ⇒ Set password for root (for all hosts) (Select ⇒ Edit Privilege ⇒ Change Password ⇒ GO ⇒ Refresh). Delete the anonymous user denoted as 'Any' User (Select ⇒ Remove selected users ⇒ GO). Create a new user called 'xampppuser
' by clicking the 'Add User'. Grant all privileges to begin with.mysql.exe
'): Read 'How to setup MySQL'.To start a new PHP webapp, create you working directory under 'htdocs
' (says directory 'hello
'). You can launch your webapp via URL 'http://localhost/hello
'. Alternatively, you can use the 'htdocs
' directory, by removing all the existing contents. You can access the webapp via URL 'http://localhost
'.
For Production, configure a virtual host (in Apache) for your project.
WampServer (@ http://www.wampserver.com/en/) bundles Apache, MySQL and PHP for Winodws in a single package. It also includes tools such as PhpMyAdmin (a MySQL database administration tool), SQL Buddy (an alternative to PhpMyAdmin), XDebug (a PHP Debugging Tool), WebGrind (a PHP Profiling Tool).
At the time of writing, WampServer 2.5 bundles Apache 2.4.9, MySQL 5.6.17, PHP 5.5.12, PhpMyAdmin 4.1.14, SqlBuddy 1.3.3 and XDbebug 2.2.5.
To Install WampServer:
wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe
).d:WampServer
', denoted as <WAMPSERVER_HOME>
, in this article.To start the WampServer, choose 'Start WampServer' from the 'Start' menu; or run 'wampmanager.exe
' from the WampServer installed directory.
An little icon will appear on the icon tray. 'Green' indicates that all the services have started; while 'Red' indicates that all the services have stopped. Click on the icon to open the 'WampServer Control Panel'. You could:
To shutdown the program, click 'Stop All Services' on WampServer Control Panel ⇒ right-click on the WampServer icon ⇒ Exit.
By default, a directory called 'www
' was created under the WampServer installed directory, which serves as the Apache's document root directory. A welcome page called 'index.php
' was also created in the 'www
' directory.
To verify the installation:
http://localhost
. This will in turn request for 'index.php
'. The index page provides links to documentations, aliases and tools. The installation creates these aliases for Apache: phpmyadmin
, sqlbuddy
, phpsysinfo
for the respective services. You can issue URL http://localhost/alias-name
to access these services.http://localhost/phpmyadmin
to access the MySQL via PhpMyAdmin. Click on the 'Users', which reveals that no password was set for the superuser root
and the anonymous user.http://localhost/?phpinfo=1
, which runs the phpinfo()
function.Use a programming editor (such as notepad++ for Windows, or gedit for Ubuntu/Mac OS) to write a simple PHP script called 'hello.php
' and save under the 'www
' directory, as follows:
To run this script, start a browser and issue URL http://localhost/hello.php
, assuming that the Apache server has been started.
Another Example: Write another PHP script called 'phpinfo.php
' (saved under 'www
') to display the PHP settings under Apache, as follows:
Run the script by issuing URL 'http://localhost/phpinfo.php
'.
Vienna symphonic orchestra pro torrent mac site. Vienna Ensemble PRO is the ultimate symbiosis of systems and workflows, providing cross-platform MIDI and audio hosting over LAN, mixing in stereo and surround (up to 7.1) with full parameter automation and optional one-click integration of Vienna MIR PRO. Download Vienna Symphonic Library - Complete GigaStudioRAR torrent or any other torrent from the Applications Windows. Direct download via magnet link. Ensemble Pro opens up VSL's hosting technology to third‑party instruments and allows 32‑bit and 64‑bit Mac and Windows systems to communicate over a network, spreading the software.
WampServer is organized in the following directory structure. The important ones are:
The Apache's main configuration file 'httpd.conf
' is located at '<WAMPSERVER_HOME>binapacheApache2.x.xxconf
'. Take note of the following configuration directives.
ServerRoot
specifies the apache's installed directory. Listen
specifies the TCP port number for Apache web server, in this case, default of TCP port 80. The DocumentRoot
specifies the root directory of the web server.The PHP's main configuration for Apache2 'php.ini
' is located at '<WAMPSERVER_HOME>binapacheApache2.x.xxbin
' (as revealed by phpinfo()
output).
[TODO] Explanation
The MySQL's main configuration file 'my.ini
' is located at '<WAMPSERVER_HOME>binmysqlmysql5.x.xx
'. Take note of the following settings:
port
specifies the TCP port number for the MySQL server (defaulted to 3306). The basedir
specifies the MySQL installed directory. The datadir
specifies the databases directory. The log-error
specifies the MySQL error log file.mysqld.exe
) mysql
) The default MySQL installation creates a superuser 'root
' without password. It also creates an anonymous user with no password. You need to:
root
'.root
' for normal daily operations. Instead, create a new user (says wampuser
) for operational use.There are many ways to administer MySQL, via the graphical client 'PhpMyAdmin' or 'SQL Buddy'; or command-line client 'mysql.exe
'.
http://localhost/phpmyadmin
'. Click the 'Users' tab ⇒ Set password for root (for all hosts) (Select ⇒ Edit Privilege ⇒ Change Password ⇒ GO ⇒ Refresh). Delete the anonymous user denoted as 'Any' User (Select ⇒ Remove selected users ⇒ GO). Create a new user called 'wampuser
' by clicking the 'Add User'. Grant all privileges to begin with.http://localhost/sqlBuddy
'. Click 'Submit' with empty password for 'root'. Select 'Users'. Set password for all root users of all hosts (Select ⇒ Edit). Remove the anonymous user (the row with empty user name) (Select ⇒ Delete). Create a new user called 'wampuser
' by filling in 'Add a New User'. Grant all privileges except the 'Grant option' to begin with.mysql.exe
'): Read 'How to setup MySQL'.To start a new PHP webapp, create you working directory under 'www
' (says directory 'hello
'). You can launch your webapp via URL 'http://localhost/hello
'. Alternatively, you can use the 'www
' directory, by removing all the existing contents. You can access the webapp via URL 'http://localhost
'.
For Production, configure a virtual host (in Apache) for your project.
Read 'How to Install LAMP Server on Ubuntu'.
Eclipse PDT (@ http://www.eclipse.org/pdt) is an IDE for PHP webapp development. The main advantage is it can debug PHP server-side scripts with XDebug or Zend Debugger extension.
Alternative PHP IDEs are: NetBeans (@ http://www.netbeans.org), PHPEclipse (@ http://www.phpeclipse.com).
Assume that you have install xDebug (which is bundled with XAMPP and WampServer).
Launch Eclipse ⇒ Select 'Window' menu ⇒ Preferences ⇒ Expand the 'PHP' node:
php.exe
' (e.g., '<WAMPSERVER_HOME>binphpphp5.x.xphp.exe
' for WampServer, '<XAMPP_HOME>phpphp.exe
' for XAMPP (Windows)).<WAMPSERVER_HOME>binapacheApache2.2.xxbinphp.ini
' for WampServer. '<XAMPP_HOME>phpphp.ini
' for XAMPP (Windows)).php.net
' with 'URL' of 'http://www.php.net/manual/en
'.hello
'.<WAMPSERVER_HOME>wwwhello
' for WampServer, '<XAMPP_HOME>htdocshello
' for XAMPP - Make a sub-directory called 'hello
' under 'www
' or 'htdocs
') ⇒ 'Finish'.hello
' ⇒ 'New' ⇒ 'PHP File'. Enter the following codes and saved as 'HelloObj.php
': Again, create a new PHP file for the following driver program 'HelloDriver.php
':
HelloDriver.php
' ⇒ 'Run As' ⇒ 'PHP Web Application' (output shown in Eclipse internal browser or external browser) ⇒ The launch URL shall be http://localhost/hello/HelloDriver.php
.HERE.
PhpMyAdmin (http://www.phpmyadmin.net) is a popular open source web-base tool intended to handle the administration of MySQL database system.
PhpMyAdmin is bundled in WampServer, installed under '<WAMPSERVER_HOME>appsphpmyadmin4.x.xx
'. It is also bundled in XAMPP, under '<XAMPP_HOME>phpmyadmin
'.
For Ubuntu, read 'Install PhpMyAdmin for Ubuntu'.
PhpMyAdmin is an Apache PHP application. Typically, an alias called 'phpmyadmin
' is defined which maps to its installed directory.
To launch PhpMyAdmin, start Apache and MySQL servers. Then, start a browser and issue URL http://localhost/phpmyadmin
.
Free download Kyno Kyno for Mac OS X. Kyno is a revolutionary all-in-one media management app that speeds up your video workflows by combining the tools required for everyday tasks in one simple user interface. Kyno - a productivity-boosting media management app aimed at filmmakers, video journalists, media agencies and other video professionals. Kyno is a leightweight application for screening, organizing and converting footage, pro-grade without the fuss of having to ingest material or having to adapt to a proprietary workflow. Kyno is an easy-to-use media management, screening, logging, organization and transcoding toolset for anyone working with video content and still imagery. Kyno for mac.
[TODO]
<WAMPSERVER_HOME>aliasphpmyadmin.conf
', which is included into Apache's main configuration file '<WAMPSERVER_HOME>binapacheapache2.4.9confhttpd.conf
' via directive 'Include '<WAMPSERVER_HOME>/alias/*'
'. In the 'phpmyadmin.conf
', an alias called '/phpmyadmin
' is defined which maps to PhpMyAdmin's directory '<WAMPSERVER_HOME>/apps/phpmyadmin4.x.xx/
'.<XAMPP_HOME>apacheconfextrahttpd-xampp.conf
', which is included into Apache's main configuration file '<XAMPP_HOME>apacheconfhttpd.conf
' via an Include
directive. In the configuration, an alias called '/phpmyadmin
' is defined which maps to PhpMyAdmin's directory at '<XAMPP_HOME>/phpMyAdmin/
'.PhpMyAdmin is a PHP app running under Apache. The PHP app uses a configuration file called 'config.inc.php
', located at the PhpMyAdmin installed directory. The default configuration uses so-called 'config
' authentication type which requires you to hardcode the MySQL user and password inside the configuration file:
If you change MySQL root's password, you need to enter the new password into this file, in order to login into MySQL.
I recommend that you change the authentication type to 'cookie', which prompts you to for the login user and password.
root
, after setting password. See above.SQL Buddy (http://www.sqlbuddy.com) is an alternative to PhpMyAdmin. SQL Buddy is bundled in WampServer, under directory <WAMPSERVER_HOME>appssqlbuddy1.3.x
. SQL Buddy could be easier to use than PhpMyAdmin.
To use SQL Buddy, start a browser, and issue URL http://localhost/sqlbuddy
.
[TODO] more user guide
XDebug (@ http://xdebug.org) is an PHP extension, that allow you to debug server-side PHP Script running under Apache in Eclipse PDT.
<WAMPSERVER_HOME>/bin/php/php5.x.xx/zend_ext/php_xdebug-2.x.x-5.x-vc11-x86_64.dll
'.<XAMPP_HOME>/php/ext/php_xdebug.dll
'.To verify that xDebug is installed, search the phpinfo()
output (run 'phpinfo.php
' written earlier) for 'xdebug
', which shall show up as follows:
phpinfo()
output, under 'Loaded Configuration File'. <WAMPSERVER_HOME>binapacheapache2.4.9binphp.ini
'.<XAMPP_HOME>/php/php.ini
'.<XAMPP_HOME>/php/php.ini
'. (@@ To Check)Let's trace through the 'hello
' PHP Webapp created earlier, which contains two PHP scripts: 'HelloDriver.php
' and 'HelloObj.php
'.
HelloDriver.php
' by clicking on the left margin.HelloDriver.php
' ⇒ 'Debug As' ⇒ 'PHP Web Application'.HelloDriver.php
'. Click 'Step Into (F5)' or 'Step Over (F6)' to trace through the program. Inspect the variables and observe the output at the web browser.Take note that if you check 'Break at First Line' in the debug configuration, the program will pause at the first line of a PHP file. You need to push 'Resume' or 'Step Over'.
Create the following two files 'Query.php
' and 'ProcessQuery.php
', saved under Apache's document root directory.
Note: This code is meant for illustrating PHP webapp debugging. In practice, the two files are often merged into one.
To run the PHP webapp, right-click on 'Query.php
' ⇒ Run As ⇒ PHP Web Application
To debug the PHP webapp:
Query.html
' ⇒ Debug As ⇒ Debug Configuration ⇒ Select 'Debugger' tab ⇒ Check 'Break at First Line' (which sets a breakpoint at the beginning of each file) ⇒ 'Debug'.ProcessQuery.php
'.Take note that if your program contains HTML and PHP, your need to switch between the web browser (to enter data) and eclipse (to push 'Resume' to run thru the HTML codes, or 'Step Over/Into' to execute the PHP codes). At times, the browser/eclipse icons on the taskbar brink to remind you to switch over.
Note: I actually intend to name 'Query.php
' and 'Query.html
', but the XDebug session does not seem to start on HTML (although you could tailor the 'Run configuration' to start running from an HTML file)?! Let me know if you have an answer. For the time being, name all files (may be only the starting page) '.php
' even they contains only HTML. This is not really a problem.
[TODO] Can't install Zend Debugger long time ago. To try again and compare with XDebug. Not critical.
REFERENCES & RESOURCES
When you install Microsoft Windows on your Mac, Boot Camp Assistant automatically opens the Boot Camp installer, which installs the latest Windows support software (drivers). If that doesn't happen, or you experience any of the following issues while using Windows on your Mac, follow the steps in this article.
If your Mac has an AMD video card and is having graphics issues in Windows, you might need to update your AMD graphics drivers instead.
Before proceeding, install the latest macOS updates, which can include updates to Boot Camp.
To install the latest Windows support software, you need a 16GB or larger USB flash drive formatted as MS-DOS (FAT).
After preparing your USB flash drive, complete these steps:
Learn what to do if you can't download or save the Windows support software.
After downloading the Windows support software to your flash drive, follow these steps to install the software. (If you're attempting to resolve issues with a Bluetooth mouse or keyboard, it might be easier to use a USB mouse or keyboard until these steps are complete.)
If you can't download or save the Windows support software:
If a Mac feature still doesn't work after updating the Windows support software, search for your symptom on the Apple support website or Microsoft support website. Some features of your Mac aren't designed to work in Windows.