Http://book.51cto.com/art/201202/314840.htm
1.7.2 nginx+fastcgi Operating principle
Nginx does not support direct invocation or parsing of external programs, and all external programs (including PHP) must be called through the FastCGI interface.
Browser:Chrome
Front-end development of artifacts, easy to adjust the style and JS
Component:xampp
XAMPP (Apache+mysql+php+perl) is a powerful building XAMPP software station integration package, directly install the package, the environment is
This article explains how PHP extensions are written by writing a simple PHP extension hello_world. This extension does not have any practicality, purely to learn how the extension is written, if you really want to write a practical PHP extension,
This paper mainly records the process of learning swoole, filled the pits and swoole how powerful!
First of all, the understanding of Swoole: A C program draped in a PHP cloak. Many phper friends see Swoole provide the powerful features, the
Knowledge Points:
A PHP base
Two PHP environment construction
A PHP base
PHP: Hypertext preprocessing Program, the production of Web site script program.
Operating Environment:
Study on development and study of Wamp windows+apache+mysql+php
Lamp
(1) According to my top two
blogs , "How Mac installs
XAMPP", "Eclipse Configuration PHP Development environment". Configure the PHP development environment and server.
(2) To switch workspaces, make sure to switch the PHP workspace to the XAMPP
Now the PHP language is only popular in small and medium-sized enterprises, most need is all-round talent,
Need to have the front end and the back end, even the database establishment has the good editing, the design Foundation.
Features of the PHP
The M method is used to instantiate a base model class, and the difference between the D method is:
1, do not need to customize the model class, reduce IO loading, good performance;
2, after instantiation can only invoke the Basic model class (the
1. methods for referencing static and static properties in a classFor exampleClass test{public static $test = 1;public static function test () {}}You can use the Test:: $test to get the value of the $test property without instantiating the object
The following will cover the main object -oriented knowledge points of PHP:
Create classname.php
$name; The Public Function __set ($name, $value) {if ($name = "attribute") && ($value >=0) && ($value attribute= $value; }}}//access modifier:
Before doing a station, with a rewrite implemented pseudo-static, today want to add a blog function, but found a problem, before the rewrite put "(\w)/" to rewrite, and now/blog/also can't open, because the system does not put/blog/as a folder
Onethink Database configuration file is \application\common\conf\config.php, as a matter of case, modify the database configuration here should be able to reconnect, but regardless of how I change the password always and I set the different
To,
The global keyword is used to access
globals within a function.
PHP stores all global variables in an array named $globals[index], index holds the name of the variable, the array can be accessed inside the function, or the global variable
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