Chapter 2: Setting Up Your Web Server
PHP Web Server Software
PHP is a language that is widely used to develop dynamic web sites. PHP runs on a web server such as Apache. You can install a web server package on your local machine (Windows, Mac OSX or Linux). WAMPServer is an Apache, MySQL, PERL, and PHP software bundle for Windows. XAMPP is an Apache, MariaDB, PERL, and PHP software bundle for Windows, Linux, or OS X (Mac). MAMP is an Apache, PHP, Perl, Python, MySQL bundle for Windows or Mac OSX.
One you download and install the web server bundle of your choice you will store your files in sub-directories in the 'root'
www folder on Windows or
htdocs on Mac OSX or
/var/www/html/ on Linux.
You should probably not replace the existing
index.php file that is in the 'root' folder. You should create a sub-folder (directory) called
cis475 to store your files for this coutrse.
Task - Set Up Your Apache/PHP/MySQL Server
For this Assignment you will first read the appropriate chapter in the textbook and related items in our Useful Tips section then setup a PHP/MySQL web server on your local machine using either the WAMPServer (Apache, MySQL, PERL, and PHP) software bundle for Windows or the XAMP (Apache, MariaDB, PERL, and PHP) software bundle for Windows, Linux, or OS X (Mac) or the MAMP (Apache, PHP, Perl, Python, MySQL) bundle for Windows or Mac OS.
Once you have successfully installed your web server you should test and verify this installation by creating a screen capture of the start page, the phpInfoand phpMyAdmin or SQLBuddy (Windows) or MariaDB Manager (Mac) pages. You will then upload these three(3) images (server.png, phpinfo.png and phpmyadmin.png or sql.png) to your
bscacad3 Web Space and add links to your
bscacad3 Home Page for the list entry for this assignment that opens these images of your successful web server installation.
You *MUST* use the W3C Unicorn Validator to validate your HTML5/CSS3 code.