PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, November 12, 2022

[FIXED] How to install php-memcached extension on Mac OS High Sierra

 November 12, 2022     apache, macos-sierra, memcached, php     No comments   

Issue

I installed successfully memcached-server, but got an error in my php-script:

Class 'Memcached' not found

I should to install php-memcached extension to fix it, but i dont know how.

I searched howto's, but all what i found is about installing php5*-memcached with brew. But i need an extension for php7.1,

brew install php71-memcached doesnt work


Solution

This should help:

pecl install memcached

Memcached extension is available for PHP 7.0.0 or newer.



Answered By - Joozty
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,214,182

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing