Recently began to use PHP to develop, each time to check how to install the configuration environment, each place is not as annoying. Write it yourself.
Apache
Enter the official website, open Download页面 , download the latest version of the
Required raw materials: (Provide links)
Php-5.6.10-win32-vc11-x86 (Zip) (Note that the PHP version is divided into IIS and Apache versions)
HTTPD-2.4.12-X86-R2 (Apache) (Zip)
MySQL Database (free installation version)
Configuration
"PHP"--Electronic industry press
The first chapter Lamp website constructs
Some of the benefits of Web apps:
Browser-based, with a unified platform and UI experience.
No need to install, with a browser to experience.
To implement isset($array[$value]) a similar function, the PHP code is as follows
classSlash_Log {protectedstatic$levels = array( 1 => "ERROR", 2 => "WARNING", 3 => "INFO", 4 => "DEBUG", );
Recently learning Linux, happen to have a PHP project to do, so configure the environment to do under Linux.
Helpless web site after a blank, after debugging is found to be SQLite database problems.
Installing the SQLite extension
Apt-get
When PHP accepts information submitted through an HTML form, it saves the submitted data in a global array, and we can call the system-specific array of automatic global variables to get those values. The usual automatic global variables are as
Carmela Introduction
Carmela provides a 44-section UTF-8 solution based on php,php extensions, java,c++ and other languages, such as common emoji tag support
Background:
UTF-8 format contains emoji expression
How can I tell if a request is an AJAX request?
1, we can use the HTTP protocol header information in the X-requested-with to judge
2, if the AJAX request is done using jquery, there will be a Http-x-requested-with key value in $_server, which
Change the man.php file name to people.php and add the code:
1 Public function hi () {2return$this->_name. ' Say hi '; 3 }
New file man.php:
1
Php2/**3* Created by Phpstorm.4* User:administrator5* Date:2015/6/296* time:11:187*/89require_once'
JSON, the full name is JavaScript Object Notation. It is a lightweight data interchange format based on the JavaScript programming language ECMA-262 3rd Edition-december 1999 standard, mainly used for exchanging data with the server. Similar to XML,
Nginx Log for most people is an untapped treasure, summed up before doing a log analysis system experience, and everyone to share the Nginx log Pure Manual analysis method.
Nginx Log related configuration has 2 places: Access_log and
Introduction
I've been using nginx1.5.7 as a Web server and a proxy server, and it's always been an application. A tomcat is also a port, and only one domain name is appropriate.Today, the Tomcat on the server was consolidated, with 5 apps sharing
Original URL: http://qq398705749.iteye.com/blog/963818
use of http_x_forwarded_for and remote_addr in PHP1.remote_addr: The IP address of the user's computer that is browsing the current page2.http_x_forwarded_for: A gateway to the user's computer
PHP Web Programming Chapter
Form form
1. What is the maximum capacity of the POST and GET transfers, respectively?
The form data submitted by the GET method is appended to the URL and sent to the server side as part of the URL. the length
#定义Nginx运行的用户和用户组User www www; #nginx进程数, the recommended setting is equal to the total CPU core number.Worker_processes 8; #全局错误日志定义类型, [Debug | info | notice | warn | error | crit]Error_log Ar/loginx/error.log Info; #进程文件PID Ar/runinx.pid;
Work needs to maintain a use case management platform, mainly to optimize the individual function points. This platform holds the test cases for each period of the project, as well as the use case query, management, review and other
June 11, sunny day.
"Plum leaves limp teeth, banana sub-green and window." Day long sleep without emotion, busy watching children catch willow flower. "
10, backstage writing-continued-2
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