MAMP PHPize Command

5.2k Views Asked by At

I am trying to run mamp's phpize command on a source code as below:

/Applications/MAMP/bin/php/php5.3.14/bin/phpize

But this is giving me error as below output:

grep: /Applications/MAMP/bin/php/php5.3.14/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.3.14/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.3.14/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions

Do you have any idea, what is wrong here?

1

There are 1 best solutions below

0
On

Here's a great guide on how to download and configure the resources that you need: https://stackoverflow.com/a/11175197/369326