Professional Documents
Culture Documents
Open Source5
Open Source5
OPEN SOURCE
TECHNOLOGY PART 5
PREPARED BY:
LESTER D. VILLANUEVA
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP INSTALLATION
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
SOFTWARE REQUIREMENT
• Operating system: 32/64 bit
• Before Installing MySQL make sure you have installed Visual C++
Redistributable Packages for Visual Studio
HARDWARE REQUIREMENT
• RAM: 4GB and above
• Monitor: 18” wide or above
• Processor: 4 core and 3.2GHz above PREREQUISITE
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
• Visual C++ Redistributable Packages For Visual Studio installation
Download from
https://aka.ms/vs/17/release/vc_redist.x86.exe
(32bit)
https://aka.ms/vs/17/release/vc_redist.x64.exe
(64bit)
• Notepad ++ installation
Download from
https://notepad-plus-plus.org/download
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
WINDOWS
Two ways of Installation can be done:
1. Bundle Software Installation that will be having all the required setups for
implementing php.
2. Installing Php Separately.
3. Bundle Software Installation are of the following:
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
XAMPP installation
Download xampp from
https://www.apachefriends.org/download.html
WAMP installation
Download Wamp from
http://www.wampserver.com/en/
MAMP installation
Download Mamp from
https://www.mamp.info/en/downloads/
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
WAMP / MAMP / XAMPP
W = Windows / M = Mac OS / X = Linux or Windows or Mac OS
A = Apache Web Server.
M = MySQL database server.
P = PHP – PHP: Hypertext Preprocessor.
PHP Installation
WampServer
• WampServer provides the easiest and quickest install of a WAMP
environment.
• Immediately functional on finish of install.
• Provides tools for easy configuration, control and modification.
• Provides control of the version of Apache, MySQL and PHP to match
production.
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
Apache web server
• The software license under which software from the Apache Foundation is
distributed is a distinctive part of the Apache HTTP Server's history and
presence in the open-source software community.
• The name Apache is a registered trademark and may only be used with the
trademark holder's express permission.
• Apache Software License 1.0/1.1/2.0
• Apache has been the most popular web server on the Internet since April
1996. Over 70 percent of web server in world use Apache!
PHP Installation
MySQL - Database server
• MySQL is a relational database management system (RDBMS) that runs as a
server providing multi-user access to a number of databases.
• MySQL is officially pronounced “My S-Q-L”.
• MySQL offers MySQL 5.1 in two different variants: the open source MySQL
Community Server and the commercial Enterprise Server.
• GNU General Public License, version 2
• Now owned by Sun Microsystems, a subsidiary of Oracle Corporation.
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
PHP Installation
PHP - Server side programming / scripting language
• PHP is free software released under the PHP License, which insists that:
The name “PHP” must not be used to endorse or promote products derived
from this software without prior written permission.
• PHP License 3.0/3.01.
• PHP original stood for Personal Home Page Tools
• PHP rules the website scripting language at over 30 percent followed by ASP
at 25 percent, Flash is about 14% and J2EE about 8%. ROR is 1.5 %
PHP Installation
PHP - Server side programming / scripting language
• PHP is free software released under the PHP License, which insists that:
The name “PHP” must not be used to endorse or promote products derived
from this software without prior written permission.
• PHP License 3.0/3.01.
• PHP original stood for Personal Home Page Tools
• PHP rules the website scripting language at over 30 percent followed by ASP
at 25 percent, Flash is about 14% and J2EE about 8%. ROR is 1.5 %
WAMPSERVER INSTALLATION
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
WampServer Installation
• Open browser and enter localhost in the address bar.
• Success! Firewalls can be an issue with Apache and may prevent from
working.
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
WampServer Installation
Apache - Configurations
http.conf
.htaccess
Modules
Restart services when done
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
WampServer Installation
MySQL - Configurations
my.ini
phpMyAdmin
Root and password
User and privilege
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
WampServer Installation
PHP – Configurations
php.ini
Modules
Restart services when done
Error handling
Deprecated function
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
WampServer Installation
WampServer Testing
• Test WampServer is working through
your browser.
• Icon in the tray Red / Yellow / Green.
• Log files.
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
TO BE CONTINUED
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
FOR LABORATORY
Republic of the Philippines
CAVITE STATE UNIVERSITY
Imus Campus
Palico IV, Imus, Cavite
🕾 (046) 471-66-07 / 436-6584
🕾 www.cvsu-imus.edu.ph
Laboratory Activity
• Make a video of a successful step-by-step guide for installing WampServer
on a Windows operating system.