For example, there is a website called msdn.itellyou, which is dedicated to downloading software under windows.
Is there any website dedicated to downloading various extensions of php under windows?
Many windows versions are not available on pecl (or I didn’t find it? What I need to download now is memcached);
It’s too troublesome to compile it yourself, and you may have to solve various troublesome problems;
PS: The company is undergoing rectification today, and the Macs we brought cannot access the Internet. It seems that it will not be possible to provide us with Macs in the short term. (The company explicitly prohibits bringing in your own equipment and reinstalling the system...) I don’t plan to change jobs for the time being. So ask.
Today I saw many people talking about using vagrant and docker. What I'm trying to say is that you guys haven't used it in depth at all.
If you use the virtual machine solution under Windows, do you know how slow the disk sharing speed is? Do you know how painful the soft link solution is? Using a slightly heavier frame, do you know how long it takes to refresh a page?
Another: I started using vagrant three years ago. Due to various problems under win, I finally switched to mac. I am still using vagrant. People who recommend vagrant probably haven't come across those painful problems under windows.
For example, there is a website called msdn.itellyou, which is dedicated to downloading software under windows.
Is there any website dedicated to downloading various extensions of php under windows?
Many windows versions are not available on pecl (or I didn’t find it? What I need to download now is memcached);
It’s too troublesome to compile it yourself, and you may have to solve various troublesome problems;
PS: The company is undergoing rectification today, and the Macs we brought cannot access the Internet. It seems that it is impossible to provide us with Macs in the short term. (The company explicitly prohibits bringing your own equipment and reinstalling the system...) I don’t plan to change jobs for the time being. So ask.
Today I saw many people talking about using vagrant and docker. What I'm trying to say is that you guys haven't used it in depth at all.
If you use the virtual machine solution under Windows, do you know how slow the disk sharing speed is? Do you know how painful the soft link solution is? Using a slightly heavier frame, do you know how long it takes to refresh a page?
Another: I started using vagrant three years ago. Due to various problems under win, I finally switched to mac. I am still using vagrant. People who recommend vagrant probably haven't come across those painful problems under windows.
Of course there are, and they are all PHP official, unlike third-party websites like ITellYou that seem to steal things.
Linux:
https://pecl.php.net/package/memcache
https://pecl.php. net/package/memcached
Windows:
http://windows.php.net/downloads/pecl/releases/memcache/
Note here, PHP has two PECL extensions to connect 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
The memcached extension uses the libmemcached library, which implements distribution and can save different keys to different servers:
http://php.net/manual/zh/memcached.addserver.php
Note that memcached extension Not supported on Windows.
Both support persistent connections, and both provide session.save_handler support.
Persistent connections mean that each PHP process maintains a connection to MySQL/Memcached/Redis and will not be disconnected after the script processing is completed. It can be used next time Reuse, all this is transparent to the script.
Usage of session.save_handler:
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 whether there is a persistent connection,
so you need to use getServerList to check whether a persistent connection resource with the same name already exists in the PHP-FPM process executing the current script.
If it exists, do not reuse addServer/ addServers method to add persistent connections.
It is recommended that the subject use Vagrant to install a portable development environment. If you have been running PHP programs under Windows, it proves that you are not familiar with the LAMP or lNMP system. Sometimes technology is forced by the environment. Don’t settle for the Windows graphical environment, otherwise Technology cannot really advance for a long time.
No
http://www.urielkatz.com/projects/memcached-win64/memcached-win64.zip
Crack Wall recommends installing docker
Docker is very convenient now. For machines with win8 or above, if you have hyper-v, you don’t need to install vbox to run boot2docker
What exactly is docker? Can you explain it in simple terms? ? Thank you
As a developer, you either use mac or linux, or docker
Windows extension official library
http://windows.php.net/downloads/pecl/releases/
https://pecl.php.net/ I can find all the extensions for my windows there and there is no problem. No need to find another extension station
It is recommended that you use vagrant to build a virtual machine locally, it is very easy to use, haha