flex-2.5.35.tar.gz and put it in the above custom installation directory.
Note: If you do not compile and install this file, the configure:error:Youroperating system's Lex is insufficient to compile libpcap will appear when you compile and install Libpcap. The error prompt.
3. Open the URL: ftp.gnu.org/gnu/bison/Download the bison-2.4.1.tar.gz (1.9MB) package, unzip the file via tar zxvf bison-2.4.1.tar.gz and put it in the above custom installation directory.
Note: If you do not compile and in
the other 3 database servers. [[emailprotected] ~]# scp /etc/my.cnf [emailprotected]:/etc/ //m2//
[[emailprotected] ~]# scp /etc/my.cnf [emailprotected]:/etc/ //m3//
[[emailprotected] ~]# scp /etc/my.cnf [emailprotected]:/etc/ //m4// Note: The Server-id of each MARIADB host cannot be the same, and the other configuration file parameters are the same. (2) Configuring MARIADB-M1, mariadb-m2 main main mode 1) Check the location of the log bin and
-JP--> Mbstring. internal_encoding = UTF-8Set the input text encoding of mbstring to automatic discriminant.; Mbstring. http_input = auto--> Mbstring. http_input = autoSet mbstring output text encoding to a UTF-8.; Mbstring. http_output = SJIS--> Mbstring. http_output = UTF-8Activate the automatic conversion of mbstring text encoding.; Mbstring. encoding_translation = OffMbstring. encoding_translation = On
However, an error occurs when/usr/local/webserver/php/bin/phpize is executed:Configuring f
1. Problem description:
There are four modules in system S: M1, M2, M3, and M4. Each module is a web application. Sessions in one module cannot be read from other modules.
2. cause:
A web application is equivalent to a site, and the Session cannot be shared between the application and the application.
3. solution:
1) include four web applications in the same solution
(Note: Adjust the. webinfo file to make the solution work properly)
2) create
" will appear when libpcap is compiled and installed; reverting to lex/yacc checking for capable lex... insufficient "error message.4. Open the web site: ftp.gnu.org/gnu/m4/ download the m4-1.4.13.tar.gz (1.2 MB) package, unzip the file through the tar zxvf m4-1.4.13.tar.gz, and put it in the above custom installation directory.Note: If this file is not compiled
/webserver/php/bin/php-config
Make
Make install
------------------------
Note:./The path of the php-config file can be specified after configure.
In this way, the compilation is complete. you also need to add the extension value to the php. ini file.
Extension = "memcache. so"
---------------------------------------------------------
Note: Cannot find config. m4.
This error is a silly one. after decompression, you need to cd to the folder. otherwise,
PHP Dynamic compilation appears cannot find autoconf workaround, cannotautoconf
This article describes in detail the solution to the cannot find autoconf in PHP dynamic compilation. Share to everyone for your reference. Here's how:
After installing PHP, you want to dynamically compile PHP's memcache extension library
Copy the Code Code as follows: CD MEMCACHE-2.2.5//usr/local/webserver/php/bin/phpize./configure--with-php-config=/usr/local/webserver/php/bin/php-config
However, an error occurred
Move from my Netease blog ..
Libpcap is a network packet capture function package on unix/linux platforms,
Most network monitoring software is based on it.
Libpcap can work on most unix-like platforms.
Libpcap Application Framework
Libpcap provides a system-independent user-level network packet capture interface, fully considering the portability of applications. Libpcap can work in the vast majority of unix-like platforms, in windows, a function package similar to libpcap winpcap provides capt
reduced by N times, and the divisor is not changed, the remainder is also expanded or reduced by N times.
In this question, the three cycles are 23, 28, and 33, and the big cycle is their smallest public multiple, that is, 21252. The given P, E, and I are actually the remainder, according to the three numbers, this is the day of a week, and then the final solution of the problem is determined based on the result. It is determined that it is the day of the week. It is known that the division an
represent the affine transformation matrix.
M1, m2, m3, and m4 indicate the scale and rotation characteristics. tx indicates the translation in the x direction and ty indicates the translation in the y direction.
Then the coordinates of a matching point can be written
Or write it
Where (x, y) is before transformation, (u, v) is the coordinate after transformation.
To understand how to evaluate the affine transformation parameters, perform the foll
1. Problem description:
There are four modules in system s: M1, M2, M3, and M4. Each module is a Web application. Sessions in one module cannot be read from other modules.
2. cause:
A Web application is equivalent to a site, and the session cannot be shared between the application and the application.
3. solution:
1) include four web applications in the same solution
(Note: Adjust the. webinfo file to make the solution work properly)
2) create
(test, 0.1)# Checks for programs.Ac_prog_cc
# Checks for libraries.
# Checks for header files.Ac_check_headers ([unistd. H])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
Ac_config_files ([makefileSrc/makefile])Ac_output
This file is composed of a series of macros which are finally expanded by the command M4 to obtain a script file configure. The main function of configure is to detect system config
.ConstUInt64 M4 =0x0f0f0f0f0f0f0f0f;//binary:4 Zeros, 4 ones ...ConstUInt64 m8 =0x00ff00ff00ff00ff;//binary:8 Zeros, 8 ones ...ConstUInt64 M16 =0x0000ffff0000ffff;//binary:16 zeros, ones ...ConstUInt64 M32 =0x00000000ffffffff;//binary:32 zeros, ones ...ConstUInt64 HFF =0xffffffffffffffff;//Binary:all onesConstUInt64 h01 =0x0101010101010101;//The sum of the 0,1,2,3 to the power of ...//This was a naive implementation, shown for comparison,//Understand
deleted, go to download and phpinfo page shows the version of the same PHP installation file, I here is the php-5.2.14.tar.gzWe recommend that you download the image from Sohu. The Netease Image is not found. Address: http://mirrors.sohu.com/php/Connect to the host using ssh tools.
The code is as follows:
# Download to the/var/www/php5 DirectoryCd/var/www/php5Wget http://mirrors.sohu.com/php/php-5.2.14.tar.gz# DecompressTar zxvf php-5.2.14.tar.gz# Enter the PHP openssl extension module direct
Note: the path of the php-config file can be specified after./configure.In this way, the compilation is complete. you also need to add the extension value to the php. ini file.
The code is as follows:
Extension = "memcache. so"
Note: Cannot find config. m4.
This error is a silly one. after decompression, you need to cd to the folder. otherwise, phpize will report an error.
The memcache extension library of PHP is dynamically compiled. an error occu
This article mainly introduces the solution to Cannotfindautoconf in PHP dynamic compilation, which is a common problem in PHP programming, for more information about how to use Cannot find autoconf in PHP dynamic compiling, see the following section. Share it with you for your reference. The specific method is as follows:
After installing PHP, you want to dynamically compile the memcache extension library of PHP.
The code is as follows:
Cd memcache-2.2.5//Usr/local/webserver/php/bin/phpize./C
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.