It's time for build zephir to go on a business trip.

zephir build made a mistake

after installing zephir, install the official documentation, press a demo, and then make a mistake in build. Is this a kernel problem

[root@localhost utils]-sharp zephir build
Preparing for PHP compilation...
Preparing configuration file...
configure: error: Cannot find php-config. Please use --with-php-config=PATH
Compiling...
sh: php-config: 
kernel/array.h:25:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/debug.h:25:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/exception.h:24:23: :Zend/zend.h:
 -sharpinclude <Zend/zend.h>
                       ^

kernel/exit.h:22:23: :Zend/zend.h:
 -sharpinclude <Zend/zend.h>
                       ^

In file included from ./php_utils.h:11:0,
                 from ./php_ext.h:4,
                 from kernel/fcall.h:24:
./kernel/globals.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/file.h:23:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/filter.h:23:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/globals.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/iterator.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/main.h:23:34: :Zend/zend_interfaces.h:
 -sharpinclude <Zend/zend_interfaces.h>
                                  ^

kernel/math.h:23:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/memory.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/object.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/operators.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

In file included from ./php_utils.h:11:0,
                 from ./php_ext.h:4,
                 from kernel/require.h:24:
./kernel/globals.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/string.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/time.h:20:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/variables.h:24:17: :php.h:
 -sharpinclude <php.h>
                 ^

kernel/concat.h:4:17: :php.h:
 -sharpinclude <php.h>
                 ^

Installing...
Internal extension compilation failed. Check compile-errors.log for more information
Nov.23,2021

echoes the third line of the result.
clipboard.png


solution:

find /-name php-config

then you can solve

by soft connecting to the bin directory.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b42a0d-2c60e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b42a0d-2c60e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?