L: linux (system installation skipped. This article does not cover it)
M: Mysql (skipped in this article)
N: nginx
P: PHP
First install nginx
1. Download source code: Download To The http://wiki.nginx.org/Install, put it
Select Debian as the environment.
1. apache2
If you want Apache to run completely under the root user
# Vi ~ /. Bashrc
Export cflags = '-wall-dbig_security_hole '.
Modify the Apache configuration file after installation.
#
Welcome to Mac OS X of XAMPPXAMPP for Mac OS x is the simplest, most practical, and most complete network server solution on Mac OS X. This release includes Apache 2 servers integrated with the latest MySQL, PHP, and Perl. It is released in the form
This function retrieves the type and data for a specified value associated with an open registry key.
This function returns the type and data of the specified value.
A Remote Application Interface (rapi) version of this function exists called
Author: Cheng Peng SU (applesoup_at_gmail.com)
Date: August 6, 2006
We 've all known that the main problem of constructing XSS attacks isHow to obfuscate malicious code. In the following paragraphs I will
Attempt to explain the concept of bypassing
Speaking of the byte sequence, there must be two major CPU factions. That is, Motorola's PowerPC series CPU and Intel's X86 series CPU. The PowerPC series uses the big endian method to store data, while the x86 series uses the little endian method
When talking about inter-program communication, it is actually sending data streams. We generally regard bytes as the smallest unit of data. Of course, in fact, a byte also contains eight bits-Sometimes I wonder why many friends do not know bit or
Field Type
Description
Field Length and default value
Char (Size)
It is used to save string data of a fixed length (size) byte.
The fixed length of each line (space filling for the remaining part). The maximum length is 2000
The AWR report in Oracle is currently the best performance analysis and diagnosis tool officially provided. With the help of a continuous snapshot analysis, we can quickly obtain the overall performance analysis indicators and locate the problem
Vim + vundle configuration, vimvundle
Although there is no IDE for writing code in Linux, it is also useful to configure several plug-ins for vim. Commonly used plug-ins mainly include the following types: file search, definition or declaration of
Three quick sorting algorithms implemented by Ruby
This article mainly introduces three fast sorting algorithms implemented by Ruby, this article provides the normal version of quick sorting, the Randomization version of quick sorting, and the
The editor is indispensable for learning and working in Linux. Vim can greatly improve your work efficiency. Installing vim on Ubuntu directly using commands is simple. But sometimes you need to manually compile and install it. For example,
The official version of vim7.3 has been released. The Vim version installed with APT-Get In ubuntu 10.10 Is 7.2. If you want to experience the new feature of 7.3, you can only compile it by yourself. The Installation notes are as follows:
1.
// Crt_wcstombs_s.c // This example converts a wide character // string to a multibyte character string. # include # include # include # define buffer_size 100int main (void) {size_t I; char * pmbbuffer = (char *) malloc (buffer_size); wchar_t *
1 cstring stores the path + file name such as: C: \ directory \ file.txt
To obtain the Directory and file name:
Cstring Path = _ T ("C: \ directory \ file.txt"); cstring directory; cstring filename; int I = path. reversefind (_ T ('\');
Following the story of the previous episode, the multi-character set (ANSI) and Unicode and string processing methodsWe have some special requirements:
Sometimes our string is of the Multi-character type, but we need to use the wide character type;
PHP prevents SQL injection methods, Phpsql injection
"One, server-side Configuration"
Security, PHP code writing is on the one hand, PHP configuration is very critical.We PHP hand-installed, PHP default configuration file
1. Download the php5.5.34 version of PHP
Extract
2. Create PHP-FPM Users
useradd-s/sbin/nologin php-fpm
3. CD php5.5.34
Perform:
4. Compile: "Reference to Amin Linux configuration Options"
./configure \--prefix=/usr/local/php
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.