Hello! Refusing to work phpize function in any folder.

iMac-Mac:extension mac$ phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No: Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. 

Tell me what to do.

UPD Thanks for the answer, but here’s what it does:

 sudo: apt-get: command not found 
  • Specify the operating system. - Dex
  • What do you think, what is the iMac operating system? - maximnara
  • 1. The fact that your system is called iMac still does not indicate that Mac OS is installed there. 2. Why then do not add it to the tags? 3. mattvsworld.com/blog/2010/02/… - Dex


1 answer 1

yum install autoconf

or

sudo apt-get install autoconf

Depending on the system. And the question is rather on the root code .