How to configure memcache for php in windows-php Tutorial

Source: Internet
Author: User
Ask questions about how to configure php memcache in windows. php can run normally. memcache configuration fails.
Download php_memcache.dll based on the information on the Internet.
Modify php. ini and add the following content: extension = php_memcache.dll

But it fails. I don't know why. please give me some advice. thank you.


Reply to discussion (solution)

Php_memcache.dll must be compatible with your php version
Http://downloads.php.net/pierre/

My PHP Version 5.3.5
Downloaded from http://downloads.php.net/pierre/
Php_memcache-2.2.6-5.3-nts-vc9-x86.zip
Php_memcache-2.2.6-5.3-vc9-x86.zip
I tried it, but it still won't work. beginner's Portal. thank you.

So is your memcached started?

So is your memcached started?

Memcache is running normally, and no Memcache is displayed in the phpinfo information.

Is the modified php. ini correct?
Have you restarted the service after modification?

Is the modified php. ini correct?
Have you restarted the service after modification?

Added

Extension = php_memcache.dll

Apache is also restarted.

Reference the reply from xuzuning on the 5th floor: is the modified php. ini correct?
Have you restarted the service after modification?

Added

Extension = php_memcache.dll

Apache is also restarted.
Print phpinfo and check whether the loaded INI file is in the same path as the file you modified.

Is the modified php. ini correct?
Have you restarted the service after modification?

Is it related to the Memcache version? I used the 1.2.6 Memcache.

Reference the reply of bccu on the 6th Floor: reference the reply of xuzuning on the 5th floor: is the modified php. ini correct?
Have you restarted the service after modification?

Added

Extension = php_memcache.dll

Apache is also restarted.
Print phpinfo and check whether the loaded INI file is in the same path as the file you modified.

Check passed. it is the same path

Xampp-win32-1.7.4-VC6-installer I am using this installed PHP \ Apache \ MySQL

Php_memcache.dll must be compatible with your php version
Http://downloads.php.net/pierre/
Good stuff is added to favorites

Make sure that the modified PHP. INI is the one that takes effect.
It is best to tell your installation environment

Php. ini path is to run the Loaded Configuration File in the phpinfo page, I tried on two computers are not configured successfully, refer to this article http://www.cnblogs.com/mfryf/archive/2012/06/13/2547213.html

Is there anything wrong?

Check whether the path of your php. ini takes effect ..

Is your configuration not loaded if it fails? Or do you mistakenly think this dll is a server? I'm curious to know

Thanks for your success.
You can download a php_memcache.dll from another website.

I also encountered the same problem. Which website did you download?

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.