Download and install Memcached server yuminstalllibevent-develwgethttp: memcached.googlecode.comfilesmemcached-1.4.5.tar.gztar-zxvfmemcached-1.4.5.tar.gz. configure -- prefixusrlocalmemcached -- buildi686-pc-linux-gnu this step will see a lack of GCC download and install Me
McAch
EdServer
Yum install libevent-devel
Wget http://memcached.googlecode.com/FileS/memcached-1.4.5.tar.gz
Tar-zxvf memcached-1.4.5.tar.gz
./Configure -- prefix =/usr/local/memcached -- build = i686-pc-linux-gnu
GC
IIS5.1 failed to add FastCGI Extension. how can this problem be solved. the confirm button is invalid. no solution found... ------ solution ------------------ the error image is not visible, but you are advised to carefully read the PHP manual www. php. netmanualzhinstall. windows. iis6.php ------ solution ----------------- how to solve the failure of adding FastCGI Ext
PHP has been compiled under Linux, how to add the so extension.A sh:/usr/local/php5/bin/phpize to use.Principle: Use Phpize in the package to find the corresponding extension folder, in the inside to perform phpize, specific steps:PHP Installation path:/USR/LOCAL/PHP5PHP Source Path:/home/default7/lamp/php-5.5.13Extended hypothesis Zlib:/home/default7/lamp/php-5.5.13/ext/zlibExecute code:Ln-s/USR/LOCAL/PHP5
1
Extension--"add--" actionsets--"Hello World Template--" Change some
2
Extends extension completed
3 A new class was created at this time
4 result diagram
In the previous article: [entlib] how to learn from Microsoft enterprise database 5.0-Step 2: using the vs2010 + data access module to build a multi-database project, we have set up the overall multi-database environment of the project, implemented multi-database access for the project, but the most important exception handling in the project was not deployed, today, we will use the exception handling + logging module in the Enterprise Library to add
-saslmakemakeinstall
Redis
Similarly, Redis already has PHP 7. we can get the project clone from github and manually switch to the PHP 7 branch:
gitclone https://github.com/phpredis/phpredis.gitcdphpredis/gitcheckoutphp7phpize./configuremakemakeinstall
Start extension
It is not enough to install the plug-in. we also need to edit the PHP configuration file to load the extension. vi/etc/php/7.0/fpm/php.
wget http://curl.haxx.se/download/curl-7.19.6.tar.gz
TAR-ZXVF curl-7.19.6.tar.gz
CD curl-7.19.6
./configure--prefix=/usr/local/curl
Make
Make install
Copy Code2, compile the build extension into the PHP source directory in the Ext directory, where the source code for each extension module, select the module you need, such as Curl module: cd/usr/webserver-soft/ph
Example of adding an extension library for PHP in Linux: adding an extension library for mbstring
1. go to the PHP source code directory (if there is no source code, run the command: # php-v to view the version number, and then download the source code from the PHP official website)
2. go to the FTP Extension Library Directory under PHPi source code:
# Cd [Y
/php is my php installation directory.
After the phpize command is executed, configure appears in the pdo_mysql directory.
Execute configuration
The code is as follows:
./Configure -- with-php-config =/usr/local/php/bin/php-config -- with-pdo-mysql =/usr/local/mysql/
Parameter description:
-- With-php-config =/usr/local/php/bin/php-config specifies the configuration during PHP installation-- With-pdo-mysql =/usr/local/mysql/specify the installation dire
When adding extensions in chrome, it always displays "checking", which is disgusting. The key to solving this problem is that you cannot download the extension because the Google website has been blocked. There are two solutions:
You can add it when you flip the wall. This is absolutely no problem.
Manually add Google IP addresses to the host file as follows:
Studio 10.6.2Apache2.4.4Modify Zend Studio Settingswindow->preferences->php->php Executables->addfill in the contents as follows, Executable path Select file after PHP INI file (optional) automatically assigned valuename:php 5.5.1_CLIExecutable Path:d:\apacheserver\php\php.exePHP INI file (optional): D:\ApacheServer\php\php.iniSAPI TYPE:CLIPHP Debugger:xdebugClick The default is automatically after Finish is saved( if only CLI Debugging is required, This step can be ignored ) Click PHP Server d
Today, we made a simple Chrome browser extension: Adding bookmarks!
It is to add a folder in the bookmarks manager, but, but, like the example in the official document...
Even if you want to name the rule, you have a method named addbk (). For details, add bookmark ^_^.
Why can't the results work? The browser didn't respond. What about why?
Finally, I finally
Question 1:
public void AsycStartDispatcher(Dispatcher dispatcher) {var thread = new Thread( (input) => {var dispatch = input as Dispatcher;if (dispatch != null) dispatch.Start(); }); thread.Start(dispatcher); }
Consider the above Code. We can see that we have written so many lines of code. In fact, it is just a simple task to complete, that is, to execute dispatch in a separate thread.
After installation, follow the instructions for compiling the installation
The mcrypt.so module is saved by default in the/usr/local/php5/lib/php/extensions/no-debug-zts-20090626/directory
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/PHP/
5. Load the module into PHP
# Vi/usr/local/php5/lib/php.ini
Add the following line:
Extension = "/usr/local/php5/lib/php/
PHP Add or upgrade extension steps:1), download the corresponding extension of the stable version of the source package2), enter into the extracted source package execution:sudo/usr/local/php/bin/phpize//corresponds to which PHP version to installsudo./configure-with-curl=/usr/local/curl/--enable-swoole--with-php-config=/usr/local/php/bin/php-configMake make ins
Php5.2.13 environment, does not support mbstring Extension
Assume that the PHP source code package is in the/usr/local/src/php-5.2.13
The PHP installation directory is/usr/local/PHP.
CopyCode The Code is as follows: # cd/usr/local/src/php-5.2.13/EXT/mbstring/
# Rpm-Qa | egrep "Autoconf | GCC": Check whether these components are installed. If these components are not installed, run the following statement. Otherwise, an error is reported.
# Yum-y inst
Linux to increase the expansion module, first download the source package from the Http://pecl.php.net/package/mongo, where the download is mongo-1.2.12.tgz, then perform the installation steps
Tar zxvf mongo-1.2.12.tgzCD mongo-1.2.12
Prepare the compilation environment/usr/local/webserver/php/bin/phpize./configure--with-php-config=/usr/local/webserver/php/bin/php-configMakeMake installVi/usr/local/webserver/php/etc/php.ini
Add
How to add a lens extension to an image using jQuery
This example describes how to add a lens zoom effect to an image using jQuery. Share it with you for your reference. The details are as follows:
Shows the running effect:
The main code is as follows:
?
1 2 3 4 5 6
$ (Function (){ $ ("# Img_01"). imageLens (); $ ("# Img_02"). imageLens
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.