phpizeコマンドが見つからない場合の対処方法(インストール方法)を以下に記します。
対象は、Debian, Ubuntu, CentOSになります。
htmlinsert(): The given local file does not exist or is not readable.
phpizeコマンドは、phpモジュール開発用パッケージに含まれています。
端末を起動し、以下のコマンドでインストールしてください。
rootにて実行してください。
apt install php-dev
sudo apt install php-dev
rootにて実行してください。
yum -y install php-devel
上記のコマンドでphpモジュール開発用パッケージがインストールされます。
以下、Debian9にインストールした時の出力です。
sakura@debian:~$ sudo apt install php-dev パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 以下の追加パッケージがインストールされます: autopoint debhelper dh-autoreconf dh-php dh-strip-nondeterminism gettext intltool-debian libarchive-zip-perl libexporter-tiny-perl libfile-stripnondeterminism-perl liblist-moreutils-perl libltdl-dev <snip> sakura@debian:~$ which phpize /usr/bin/phpize
phpizeコマンドのインストール方法でした。