Installing and Configuring Apache and PHP

Installing and - CNT 4714 Enterprise Computing Spring 2011 Installing and Configuring Apache and PHP Instructor Dr Mark Llewellyn [email protected]

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
CNT 4714: PHP – Part 1 Page 1 Mark Llewellyn © CNT 4714: Enterprise Computing Spring 2011 Installing and Configuring Apache and PHP Department of Electrical Engineering and Computer Science University of Central Florida Instructor : Dr. Mark Llewellyn [email protected] HEC 236, 407-823-2790 http://www.cs.ucf.edu/courses/cnt4714/spr2011
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CNT 4714: PHP – Part 1 Page 2 Mark Llewellyn © Introduction to PHP PHP is officially known as PHP: Hypertext Preprocessor and is very rapidly becoming the most popular server-side scripting language for creating dynamic web pages. PHP was created in 1994 by Rasmus Lerdorf (who currently works for Linuxcare, Inc. as a senior open-source researcher) to track users at his Web site. Lerdorf originally called it Personal Home Page Tools in a package he released in 1995. It eventually became an Apache Software Foundation project. PHP2 featured built-in database support and form handling. In 1997, PHP3 was released and featured a new parser which substantially increased performance and led to an explosion in PHP use.
Background image of page 2
CNT 4714: PHP – Part 1 Page 3 Mark Llewellyn © Introduction to PHP (cont.) PHP4 featured the Zend Engine and was considerably faster and more powerful than its predecessors and further enhanced the popularity of PHP. The current release is PHP 5.3.6 and features the Zend Engine 2, which provides further increases in speed and functionality. You can download the latest version of PHP at www.php.net . For more details on the Zend Engine 2 see www.zend.com . Today more than 20 million domains utilize PHP technology. All of the examples we’ll be looking at use the latest stable version of PHP which is 5.3.6 and was released March 17, 2011.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CNT 4714: PHP – Part 1 Page 4 Mark Llewellyn © Introduction to PHP (cont.) The power of the Web resides not only in serving content to users, but also in responding to requests from users and generating Web pages with dynamic content. Interactivity between the user and the server has become a crucial part of Web functionality. While other languages can also perform these functions, PHP was written specifically for interacting with the Web. PHP code is embedded directly into XHTML documents. This allows the document author to write XHTML in a clear, concise manner, without having to use multiple print statements, as is necessary with other CGI-based languages.
Background image of page 4
CNT 4714: PHP – Part 1 Page 5 Mark Llewellyn © Introduction to PHP (cont.) PHP script file names usually end with .php , although a server can be configured to handle other file extensions. To run a PHP script, PHP must first be installed on your system. Download PHP 5.3.6 from www.php.net . (Most recent version is 5.3.6.) Although PHP can be used from the command line, a Web server is required to take full advantage of the scripting language. I would suggest the Apache server available from www.apache.org . (Note: this is not the Tomcat server you’ve
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/14/2011 for the course CNT 4714 taught by Professor Llewellyn during the Spring '10 term at University of Central Florida.

Page1 / 41

Installing and - CNT 4714 Enterprise Computing Spring 2011 Installing and Configuring Apache and PHP Instructor Dr Mark Llewellyn [email protected]

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online