1

I am trying to install FreeTSD on my local MAMP install. But I am having troubles compiling the extension for PHP7. The commands finish executing but I have no idea where the .SO file is output to.

I have been following this guide on how to compile PHP extensions for MAMP.

Here are the commands I have been executing:

cd /Applications/MAMP/bin/php/php7.0.0/includes/php  
./configure --with-php-config=/Applications/MAMP/bin/php/php7.0.0/bin/php-config

cd /Users/m1/Downloads/freetds-0.95.88/Applications/MAMP/bin/php/php7.0.0/bin/phpize
./configure --with-php-config=/Applications/MAMP/bin/php/php7.0.0/bin/php-config  
make  

I also get random errors after it finishes executing:

configure: WARNING: unrecognized options: --with-php-config".

The extension I'm trying to install is FreeTDS.

This is very odd as it does execute, but with that error.

zx485
  • 28,498
  • 28
  • 50
  • 59
  • Please use tags properly. To answer this question, there is no need to have sql-server knowledge. It is pure php question. – FLICKER Mar 22 '16 at 18:06

1 Answers1

0

I have resolved this question. The issue is that MAMP for Mac even the Pro version does NOT support installing extensions. I got this information directly from MAMP support.