For example, a website named msdn. itellyou specifically downloads software under windows. Is there any website dedicated to downloading various extensions of php in windows? Many of the pecl versions are not available for windows (or are not found? I need to download memcached now); it is too troublesome to compile myself... for example, there is a website called msdn. itellyou, which is dedicated to downloading software in windows.
Is there any website dedicated to downloading various extensions of php in windows?
Many of the pecl versions are not available for windows (or are not found? I need to download memcached );
Compiling by yourself is too troublesome, and it is likely to solve various troubles;
PS: Today, the company's self-prepared mac cannot be connected to the internet. it seems that we have no mac configuration in the short term. (the company is not allowed to bring our own devices or reinstall the system ...) I am not planning to change jobs for the moment, so please ask.
Today, many people say that vagrant uses docker. What I want to say is that you are not using it in depth.
How slow is the disk sharing speed when using the virtual machine solution in windows? How painful is the soft link solution? How long does it take to refresh a page with a slightly heavier frame?
Another: I used vagrant three years ago. due to various problems in win, I switched to mac and still used vagrant. We recommend that vagrant users who have not been exposed to the problem of egg pain in windows.
Reply content:
For example, a website named msdn. itellyou specifically downloads software under windows.
Is there any website dedicated to downloading various extensions of php in windows?
Many of the pecl versions are not available for windows (or are not found? I need to download memcached );
Compiling by yourself is too troublesome, and it is likely to solve various troubles;
PS: Today, the company's self-prepared mac cannot be connected to the internet. it seems that we have no mac configuration in the short term. (the company is not allowed to bring our own devices or reinstall the system ...) I am not planning to change jobs for the moment, so please ask.
Today, many people say that vagrant uses docker. What I want to say is that you are not using it in depth.
How slow is the disk sharing speed when using the virtual machine solution in windows? How painful is the soft link solution? How long does it take to refresh a page with a slightly heavier frame?
Another: I used vagrant three years ago. due to various problems in win, I switched to mac and still used vagrant. We recommend that vagrant users who have not been exposed to the problem of egg pain in windows.
Of course, they are all official PHP websites. they are not websites that seem to have stolen things like third parties like ITellYou.
Linux:
Https://pecl.php.net/package/memcache
Https://pecl.php.net/package/memcached
Windows:
Http://windows.php.net/downloads/pecl/releases/memcache/
Note that PHP has two PECL extensions connected to Memcached.
Http://php.net/memcache
Http://pecl.php.net/package/memcache
Http://windows.php.net/downloads/pecl/releases/memcache/
Http://php.net/memcached
Http://pecl.php.net/package/memcached
Among them, the memcached extension uses the libmemcached library to implement distributed storage of different keys on different servers:
Http://php.net/manual/zh/memcached.addserver.php
Note that memcached extensions do not support Windows.
Both support persistent connections and support session. save_handler.
Persistent connection means that every PHP process maintains a connection to MySQL, Memcached, and Redis. it will not be disconnected after the script is processed and can be reused next time. This is transparent to the script.
Session. save_handler usage:
Http://php.net/manual/zh/memcache.ini.php
Http://php.net/manual/zh/memcached.sessions.php
Persistent connection:
pconnect('127.0.0.1', 11211);$mc->delete('post_id');$mc->set('post_id', 'json');$json = $mc->get('post_id');$mc->replace('post_id', 'new_json');?>
setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true);if (!count($mc->getServerList())) { $mc->addServers(array( array('mc1.example.com',11211), array('mc2.example.com',11211), ));}?>
Because the addServer/addServers function does not check for persistent connections,
So you need to use getServerList to check whether there is a persistent connection resource with the same name in the PHP-FPM process that executes the current script,
If a persistent connection exists, do not use the addServer/addServers method to add a persistent connection.
It is recommended that you use vagrant to install the portable development environment. if you have been running the php program in windows, it proves that you are not familiar with the LAMP or lNMP system. sometimes the technology is forced out of the environment, don't be comfortable with the windows graphical environment. otherwise, technology will not be able to grow further for a long time.
No
Http://www.urielkatz.com/projects/memcached-win64/memcached-win64.zip
Docker is recommended for split walls
Now docker is very convenient. for machines above win8, hyper-v does not need to install vbox to run boot2docker.
What is docker? Is it easy to understand ?? Thank you.
As a developer, you can either use mac or linux, or docker
Windows extended official library
Http://windows.php.net/downloads/pecl/releases/
Https://pecl.php.net/I windows extensions are looking for it, no problem. You do not need to find another extension site
We recommend that you use vagrant to build a local virtual machine, which is particularly useful. haha