This error occurs when you try to compile and install PHP extensions with php-config, but php-config is not installed on your system. This usually happens because the php-dev package is not installed.