php mysql and apache

7
PHP stands for PHP: Hypertext Pre-Processor. PHP is a server-side scripting language. PHP scripts are executed on the server. PHP is an open source. PHP is free to download and use 3/2/2014 5:41:19 PM Liza Theater

Upload: jas0049

Post on 15-Jul-2015

80 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: PHP MySQL and Apache

PHP stands for PHP: Hypertext Pre-Processor.

PHP is a server-side scripting language.

PHP scripts are executed on the server.

PHP is an open source.

PHP is free to download and use

3/2/2014 5:41:19 PM Liza Theater

Page 2: PHP MySQL and Apache

Why is PHP used?1. Easy to Use

Code is embedded into HTML. The PHP code is enclosed in special start and end

tags that allow you to jump into and out of "PHP mode".

<html><head>

<title>Example</title></head><body>

<?php echo "Hi, Its a PHP script!"; ?>

</body></html>

3/2/2014 5:41:19 PM Liza Theater

Page 3: PHP MySQL and Apache

Why is PHP used?2. Cross Platform:

Runs on almost any Web server on several operating systems. One of the

strongest features is the wide range of supported databases

Web Servers: Apache, Microsoft IIS, Caudium, Netscape Enterprise Server

Operating Systems: UNIX (HP-UX,OpenBSD,Solaris,Linux), Mac OSX,

Windows NT/98/2000/XP/2003

Supported Databases: Adabas D, dBase,Empress, FilePro (read-only),

Hyperwave,IBM DB2, Informix, Ingres, InterBase, FrontBase, mSQL,

Direct MS-SQL, MySQL, ODBC, Oracle (OCI7 and OCI8), Ovrimos,

PostgreSQL, SQLite, Solid, Sybase, Velocis,Unix dbm

3/2/2014 5:41:19 PM Liza Theater

Page 4: PHP MySQL and Apache

3(+1) TIER ARCHITECTURE

PHP script

Web Server (Apache, IIS)

Browser(IE, FireFox, Opera)

Desktop (PC or MAC)

Database

Database Server

SQL

Client application

HTTP

HTML tables

touch

3/2/2014 5:41:19 PM Liza Theater

HTTP :HyperText Transfer Protocol

Page 5: PHP MySQL and Apache

Why is PHP used?

3. Cost BenefitsPHP is free. Open source code means that the entire PHP community will

contribute towards bug fixes. There are several add-on technologies (libraries)

for PHP that are also free.

3/2/2014 5:41:19 PM Liza Theater

COST BENEFIT:

PHP

Software Free

Platform Free (Linux)

Development Tools Free

PHP Coder, jEdit

Page 6: PHP MySQL and Apache

3/2/2014 5:41:19 PM Liza Theater

WHAT IS MYSQL?

MySQL is a database server.

MySQL is ideal for both small and large applications.

MySQL supports standard SQL.

MySQL is free to download and use.

Page 7: PHP MySQL and Apache

3/2/2014 5:41:19 PM Liza Theater

Apache Server, commonly referred to as Apache is webserver.