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 ( ,