Having Problems While Try to Install Oauth with Pecl in Mamp on MAC Os Lion

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



Leave a reply



Submit