Php core knowledge points, php core points _ PHP Tutorial

Source: Internet
Author: User
Tags php database php definition php introduction
Php core knowledge points, php core points. Php: script language, website construction, server running php definition: a server-side HTML scripting language, it is a simple and key point for php core knowledge.

Php: script language, website construction, and server running

PHP definition: a server-side HTML script/programming language, it is a simple, object-oriented, interpreted, robust, secure, highly performing, architecture-independent, portable, and dynamic scripting language. It is a multi-purpose scripting language that is widely used in Open Source (Open Source code) and is especially suitable for Web development and can be embedded in HTML. Its syntax is similar to C, Java, and Perl, and it is easy to learn. This language allows Web developers to quickly write dynamically generated Web pages.

PHP introduction: Rasmus Lerdorf Development History (1994: 1.0 individual perl, 1996: 2.0C underlying layer, 1998: 3.0 zendEngine. 0 session + output buffer, etc. 0zend engine generation 2), Platform Support (Windows, Linux, UNIX), database support (Sqlserver, mysql, Oracle, Access), development environment (Apache2, mysql, php)

Servers: software, common services (HTTP, FTP, MySQL, telnet, etc)

Software Architecture: c \ s, B \ s, PHP status

Web access: IP, domain name, hosts, domain name server, website, web access

Original data storage: PHP file, database file

Build a web server:

Install Wamp, lamp, and Apache (www.apache.org)

Install MySQL

PHP installation (without a Chinese character, cmdexecute php.exe-f, VC6 and VC9), configure (Apache loads the php module: LoadModule php5_module "PHP5apachedll path"; add php processing: AddType application/x-httpd-PHP. php; load the php configuration File: windows, Apache configuration file load PHPIniDir "PHP configuration file path"; configure the PHP Time zone: date. timezone)

Php database operations: PHP enables MySQL extension and specifies the extension directory (extension_dir)

Web operating principle: static and dynamic

Virtual host configuration: based on the domain name virtual host, including vhost configuration, edit the virtual vhost File (VirtualHost, ServerName, DocumentRoot), restart, modify the hosts file, and reconfigure localhost

PHP script execution: read the source program, zendEngine (lexical analysis, syntax analysis), generate opcode, execute opcode, explain, and compile the difference

PHP jobs: scripts (server scripts, web servers and browsers required), command line scripts

Basic syntax: script language (embedded in html), PHP processing (tag recognition), tag ( ,

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.