2

I am in need to install PECL extension to enable Memcache for my Drupal 7 site.

I downloaded the 5.5 Thread Safe (TS) x64 from the below link. https://pecl.php.net/package/zip/1.12.3/windows

Unzipped it & copied the dll & pasted into the directory

C:\wamp\bin\php\php5.5.12\ext

File name copied-pasted - php_zip.dll (name seems irrelevant but the only dll available in zip)

Added the following line into php.ini

extension=php_zip.dll

restarted the wamp server.

But still pecl is unavailable.

So how do I install this extension then.

9
  • you will need to place the dll file on the ext folder under php folder. Jun 24, 2016 at 18:37
  • In XAMPP I used to like extract the .dll in C:\xampp\php\ext.
    – Chay22
    Jun 24, 2016 at 18:40
  • C:\wamp\www\bin\ext it's not the php folder. @pkhode Jun 24, 2016 at 18:41
  • @Chay22.. I did that
    – Kgn-web
    Jun 24, 2016 at 18:41
  • @MuhammadSumonMollaSelim.. yes. done. still same issue
    – Kgn-web
    Jun 24, 2016 at 18:44

1 Answer 1

4

I'm using WAMPServer (x64) with PHP5.6.25 & I want to install Blesta, the requirements need Pecl - Mailparse, So:

  1. I download PHP Mailparse v2.1.6 (PHP v5.6)(Thread Safe)(vc11)(x64)
  2. I extract the download file to C:\wamp64\bin\php\php5.6.25\ext folder
  3. I add extension=php_mailparse.dll to file C:\wamp64\bin\php\php5.6.25\phpForApache.ini to the end of Dynamic Extensions
  4. Restart the WAMPServer
  5. Install Blesta

Sample config for step 3:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll

extension=php_mailparse.dll
2
  • Step 5, install blesta, seems unrelated
    – Jonathan
    Jul 20, 2018 at 21:49
  • @Mored1984 Hi, I have the same problem also. I want to install php_mailparse.dll . I follow your step but it still did not found the extension. Did you know how to solve this problem?
    – dipgirl
    Oct 8, 2021 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.