Can't install memcached.so extension for MAMP's PHP 5.6.2 on OS X 10.10?
I was able to resolve thanks to these two pages:
Having problems while try to install OAUTH with PECL in MAMP on mac OS lion
and
http://verysimple.com/2013/11/05/compile-php-extensions-for-mamp/
Installing PECL on MAMP
Working on this right now and found a workaround to just disable iconv with ./configure --without-iconv
which not the best solution of course, but works for me.
Edit: Downloaded libiconv-1.14 package, and after running ./configure , make, make install, PHP configure runs fine.
Can't phpize or configure an extension in OS X 10.9 Mavericks
run xcode-select --install
to install the XCode5 Command Line Tools, then sudo pecl install memcache
. You should be good to go.
PHP Configure Error: Please specify the install prefix of iconv with --with-iconv= DIR
Do exactly as the error says in your console. It's looking for iconv but it can't find it.
./configure --with-iconv=pathToIconv
I guess we should probably check to see if iconv is installed by running "iconv --help" if it's not installed you can install it with homebrew, or you could add the existing files to your PATH variable. I am not sure how mamp works in this scenario.. PHP should use iconv if it is installed on the machine. Due to the way mamp contains itself it may be full filling this dependency in a weird way. As I understand it best practice is to have iconv built into the php installation so you should put the effort into tracking down the path.To my understanding you can install it without iconv and as long as the dependency is being fulfilled it will run as expected.
./configure --without-iconv
Related Topics
Custom Order Status Background Button Color in Woocommerce 3.3 Admin Order List
Submitting JSON Data via Jquery Ajax.Post to PHP
PHP Create and Save a Txt File to Root Directory
Insert PHP Code in Wordpress Page and Post
Php: Read Specific Line from File
Laravel Error: Missing Required Parameters for Route
Can You Append Strings to Variables in PHP
What Are Fragment Urls and Why to Use Them
Why Do Changes to Some PHP Files Take So Long to Show on the Live Site
Gmail Fsockopen(): Ssl Operation Failed Error with Codeigniter and Xampp
Alter Table in Magento Setup Script Without Using SQL
Setup Http Expires Headers Using PHP and Apache
Which Is Faster and Better, Switch Case or If Else If
Exotic Names for Methods, Constants, Variables and Fields - Bug or Feature
What Does This Mean? "Parse Error: Syntax Error, Unexpected T_Paamayim_Nekudotayim"