XAMPP
XAMPP
Apache, MySQL, PHP, Perl for Windows
Others: LAMP - LinuxWAMP - WindowsMAMP - MacIntosh
XAMPP
Local web design and development environment
HTML displays without need of a server
Other web-based languages do need a server to operate
Creates local ‘sandbox’ environment in which developers can write, deploy, and test code
This will happen if you have Vmware running on your computer,because VMw will already be bound to Port 443
XAMPP
One problem can crop up if you have VMware installed on your computer
The VMware Authorization Service uses one of Apache’s ports
Click on ‘Services,’ click in the Services window, and type ‘v’
Right-click on VMware Authorization Service and select ‘Stop’
This won’t cause a problem with Vmware, as long as you don’t try to launch itwhile XAMPP is running its Apache server
NOTE: If you’re going to be developing database integrated applications, start MySQL also
XAMPP
The ‘server root’ for XAMPP is in **\xampp\htdocs (Where ‘**’ is the path to the directory where you installed XAMPP
In my case, the path is C:\xampp\htdocs
Testing the installation
Make a new folder named ‘test’
Open a new file in Notepad++ and type the above
Save the file in the **\xampp\htdocs\test folder as ‘test.html’
In your browser, navigate to ‘localhost/test/test.html’
Notice that ‘htdocs’ doesn’t appear in the address. It is set as the root folder for local websites
XAMPP
So why does this matter?
Again, other languages require a server to function
If we were to be using PHP instead of HTML, for example…
XAMPP
Also, many dynamic web applications require the use of a database to function
PHP and MySQL are well beyond the scope of this class, but understand that HTML and CSS are the building blocks of the web experience
Other languages use them to create a dynamic web experience
XAMPP