PHP Learning Notes (1) Environment Configuration and code debugging _php Tutorial

Source: Internet
Author: User

A configuration PHP environment

1. Understand what PHP is

PHP("Php:hypertext preprocessor", super text preprocessor acronym)

PHP, is the abbreviation of English Super Text preprocessing language hypertext preprocessor. PHP is an HTML embedded language, is a server-side implementation of embedded HTML document scripting language, language style has similar to C language, is widely used


2. PHP Background and advantages

PHP's development background

1), 1994 created by Rasmus Lerdorf, began to be a simple Perl language written by the program, with statistics on his own website's access.

Subsequently rewritten in C language includes access to the database.

2), 1995 Lerdorf released PHP/FI 1.0 version and 2.0 version, and added support for MySQL, since then established PHP in Dynamic Web development status.

3), 1996 Low, there are 15,000 sites using PHP/FI

4), 1997 years, more than 50,000 sites are developed with PHP/FI. The development team joined Zeev Suraski and Andi Gutmans the same year PHP3 released.

5), 200 years PHP4.0, added a lot of new features.

6), on May 22, 2000, the Zend Engine 1.0 based PHP 4 officially released, July 13, 2004 released the PHP 5,php 5 used the second generation of Zend Engine[5]. PHP contains a number of new features, such as enhanced object-oriented functionality, the introduction of PDO (PHP data Objects, an Access data

Library), and many performance enhancements.

7), 2008 PHP 50% for PHP only has in the PHP version developed. Future PHP 5.3 will be added late static binding and some other features strong

Of.

Advantage over there

1) Open Source: OpenSource.

2), PHP is free: Compared to other technologies, PHP itself is free.

3), PHP shortcut:

The program develops fast, runs fast, and the technology itself learns fast. Embed HTML: Because PHP can be embedded in HTML language, it is easier to edit, more practical and more suitable for beginners than other languages.

4), the cross-platform of Strong:

Since PHP is a script running on the server side, it can run under UNIX, LINUX, and Windows.

5), High efficiency:

PHP consumes a fairly small amount of system resources.

6), Image processing:

Create images dynamically with PHP

7), Object-oriented:

In PHP4,PHP5, the object-oriented aspect has been greatly improved, now PHP can be used to develop large-scale commercial programs.

8), professional focus;

PHP supports scripting languages and is the same Class C language.

Technical Application of PHP

1), pseudo-static and static page generation.

2), process cache, and database cache.

3), very good support for the standard (DIV+CCS)

4), can be heavy load.

5), distributed

6), Support MVC model

7), AJAX framework Integration (jquery framework Integration)

8), object-oriented programming support

Second, configure the PHP debugging environment

1), install Wamp

The so-called Wamp refers to the installation of the Apache Web server (A) and the MySQL database (M) and the PHP scripting Engine (P) under the Windows System (W), which is certainly better than the WAMP environment in the lamp environment. However, because of the ease of use of Windows, so we do in the pre-development or testing some CMS, using the WAMP environment is even more convenient and practical. Wamp that these individual software together form a powerful Web application platform.

Download Wamp latest Help Wamp5 Http://9.scdx1.crsky.com/200711/WAMP5-v1.7.4.rar

2), development tools Zend Studio

recommended Zend Studio, this is not a free version. Zend Studio is a PHP integrated development environment, with powerful professional editing tools and debugging tools, support PHP syntax highlighting, support syntax autofill, support bookmarks, support syntax Auto-indentation and code copy function, built-in a powerful PHP code debugging tools, Supports both local and remote debug modes, and supports a variety of advanced debugging features.

  • Zend Studio 8.0.1 official download address (not included with IBM i edition download)

    • Windows edition:http://downloads.zend.com/..ZendStudio-8.0.1.msi
    • Linux Edition (32-bit):http://downloads.zend..../ZendStudio-8.0.1-x86.tar.gz
    • Linux Edition (64-bit):http://downloads.zend....ZendStudio-8.0.1-x86_64.tar.gz
    • DMG installation format for mac_os_x:http://downloads.zend....ZendStudio-8.0.1.dmg

    (Study notes, understand superficial.) Only for study reference, if not enough please understand)

  • http://www.bkjia.com/PHPjc/323669.html www.bkjia.com true http://www.bkjia.com/PHPjc/323669.html techarticle a configuration PHP environment 1, understand what PHP php ("Php:hypertext preprocessor", hypertext preprocessor acronym) PHP, is the English Super text preprocessing language hypertext pre ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.