Hi. I want to put memcache on Apache. I downloaded the file from http://pecl.php.net/package/memcache and found the information that

"Like many other PHP DLL extensions, the installation consists in simply copying the DLL file with the PECL extension into the folder with the extension_dir extension and then loading it into php.ini. For example, add the following line to your php.ini: extension = php_extname .dll

After everything is done, restart the web server. "

In the downloaded file there are no such extensions. What should all files be shoved into a folder?

  • 2
    Apparently you downloaded the archive with source codes in C. In order to get the module you need with the * .dll extension, you need to compile them under Windows. Read the documentation for details of this process. - andreycrane
  • I’m advised to contact pear.php.net/manual/ru / ... I don’t see where you can compile. Can I have an extra program? Really such a service could not give its code in a compiled form. Evil ........ - Koza4ok
  • one
    Look here: stackoverflow.com/questions/1511045/… There is a link to the compiled dll. It is said that it works under PHP 5.3. - Bars
  • 5.3.13 doesn't work for me. Version conflict ... Okay, I won’t suffer. I don’t tell me the compiler and I think we’ll end it. I wanted it for the sake of learning. - koza4ok

1 answer 1

reply from comment


Apparently, you downloaded the archive with C source codes. In order to get the module you need with the extension *.dll , you need to compile them under Windows .

Read the documentation for details of this process.