-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 occurs when/usr/localphp/bin/ph
. then, rerun this script. according to the network solution is: # cd/usr/src # wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz# tar-zvxf m4-1.4.9.tar.gz # cd m4-1.4.9 /#. /configure make install # CD .. /# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz# tar-zvxf autoconf-2.62.tar.gz # cd autoconf-2.62 /#. /
The common method for PHP to call so is to use the DL () function, but this method is no longer supported after php5.3. It only supports static calls. for methods to use DL () for dynamic calls, see:
Reference page 1: http://tech.idv2.com/2007/07/06/use-local-so-in-php/
Thanks to the clear and clear methods provided by the original author, but I did not pass in version 5.3.1 I, so I found the page:
Reference page 2: http://www.9php.com/FAQ/cxsjl/php/2007/11/9405479103083.html
This page describes
cloud host of jinshang data. PHP version: 5.2.14
The following solution uses my host as an example to explain how to add openssl module support for PHP.
Some answers on the Internet are to re-compile PHP, add the configure parameter, and add openssl support. Here is a method that does not need to be re-compiled.
If there is a PHP installation package file on the server, it is best to, if it has been deleted, go to download and phpinfo page shows the version of the same PHP installation file, I
-Compilation of Iperf to solve the problem. The reason for this is that the cross-Compilation of activeMQ-cpp is too dependent and the compilation process is very complicated.
ActiveMQ is an open-source message bus that is popular and powerful in Apache.It supports programming clients in multiple languages and protocols, for example, clients written in c ++, activeMQ-cpp.
1. Download ActiveMQ-CPP, which is as follows:Http://activemq.apache.org/cms/
2. view the dependency:I downloaded a activemq-
1. Download source code
1.1 opensips source code package download
Latest opensips download location: http://opensips.org/pub/opensips/latest/src/
All versions of opensips download location: http://opensips.org/pub/opensips/
1.2 opensips dependent package download
For source code Installation Software, check README, INSTALL, and other files. These files contain important instructions and installation information.
The INSTALL file contains descriptions of the software packages that opensips depend
SendmailThe configuration file is as follows:
/Etc/mail/sendmail. mc
Dnl #
Dnl # This is the sendmail macro config file for m4. If you make changes
Dnl #/etc/mail/sendmail. mc, you will need to regenerate
Dnl #/etc/mail/sendmail. cf file by confirming that the sendmail-cf package is
Dnl # installed and then Ming
Dnl #
Dnl # make-C/etc/mail
Dnl #
Include ('/usr/share/sendmail-cf/m4/cf.
Download thrift DependenciesYum-y install automake libtool flex bison pkgconfig gcc-C ++ boost-devel libevent-devel zlib-devel Python-devel ruby-devel crypto-utilsOpenSSL-devel
Download the latest thrift, URL: http://thrift.apache.orgTar-zxvf thrift-0.8.0.tar.gz
Move to the default installation directoryCP-r thrift-0.2.0/usr/local/(default installation directory? Otherwise, the generated thrift binfile may be generated but cannot be found. If it is installed here, the generated thrift will be in
/$./Configure
The following message may be displayed:Checking for suitable m4... configure: Error: no usable M4 in $ path or/usr/5bin (see config. log for reasons ).
$ M4Program"M4" is not installed yet. You can use the following command to install:Sudo apt-Get install M4$ Sudo apt-Get install
.
Note: If this file is not compiled and installed, an error message "Configure: Error: your operating system's Lex is insufficient to compile Libpcap." appears when you compile and install Libpcap.
3. Open the URL: ftp.gnu.org/gnu/bison/ download the bison-2.4.1.tar.gz (1.9 MB) package, unzip the file through the tar zxvf bison-2.4.1.tar.gz, and put it in the aforementioned custom installation directory.
Note: If this file is not compiled and installed, "Configure: Warning: don't have both flex
1. Download the corresponding PHP version of the websiteHttp://php.net/get/php-5.3.29.tar.gz/from/a/mirror2. Unzip to find the required extension directory for example, I want shmop.CD ~/DOWNLOADS/PHP-5.3.29/EXT/SHMOP3. Execute the PHP version of your phpize instead of the default/applications/mamp/bin/php/php5.3.29/bin/phpize4. Build Note version./configure--with-php-config=/applications/mamp/bin/php/php5.3.29/bin/php-configMakeMake install5. Modify the PHP extension in Mamp PlusExtension=shmop
Reprint Address: http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6/I noticed today and Mac OS 10.6 (specifically, 10.6.2) comes with Automake and autoconf, the versions is a little Bit dated. Normally I wouldn ' t care, but I ran into an issue when trying to generate a portable distribution using those tools on my Mac, and then configure, compile, and install the result on a Linux box. What I discovered are the version of Autoconf and Automake on OSX
1. Source code Download
1.1 Opensips Source Package download
Latest opensips Download location: http://opensips.org/pub/opensips/latest/src/
All versions of opensips download location: http://opensips.org/pub/opensips/
1.2 Opensips Dependency Pack download
The source code installation software should be careful to view files such as Readme,install, which have important instructions and installation information.
In the install file, there are only a few packages that are missing from the de
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
Directory, which is used to generate the PHP extension skeleton. Using this script can help us quickly create PHP extensions:
The Code is as follows:
$ ./ext_skel --extname=myext
The above command helped us create an extension named myext. The source code is under the myext directory. Run the script without any parameters to print the help information, so that you can view more options provided by the script.Next let's complete our expansion. Go to the myext directory, edit the config.
Statement, the following content is reproduced from: http://www.blogjava.net/hjh132/archive/2008/03/17/186849.html andHttp://blog.csdn.net/xuxinshao/article/details/2244297
What are the sizes of the following struct in VC?Struct mystruct{Double M4;Char M1;Int m3;};Struct mystruct {Char M1;Double M4;Int m3;};# Pragma pack (push) // save alignment status# Pragma pack (16) // set to 16-byte alignmentStruct Te
Autotools is a series of tools. It mainly consists of Autoconf, automake, Perl language environment, and M4. It contains five commands:
(1) aclocal
(2) autoscan
(3) Autoconf
(4) autoheader
(5) automake
I. Prepare source code
This project has three source files: score. cpp, Sum. cpp, and average. cpp.
The content is as follows:
Score. cpp:
#include
Sum. cpp:
float Sum(float var[], int num){float sum = 0.0;for(int i=0; i
Average. cpp:
float Avera
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.