Apache mod_phpを使用してLinuxでPHPをコンパイルする

Apache mod_phpを使用してLinuxでPHPをコンパイルする

KubuntuでApacheモジュールを使用してPHPをコンパイルする必要があります。

apache2とapache2-devをインストールしました。しかし、apxs2またはapxsが見つかりません。

$ uname -a
Linux hppavilion 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


$ dpkg -l | grep apache
ii  apache2                                         2.4.18-2ubuntu3                            amd64        Apache HTTP Server
ii  apache2-bin                                     2.4.18-2ubuntu3                            amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                                    2.4.18-2ubuntu3                            all          Apache HTTP Server (common files)
ii  apache2-dev                                     2.4.18-2ubuntu3                            amd64        Apache HTTP Server (development headers)
ii  apache2-utils                                   2.4.18-2ubuntu3        

どんなアイデアがありますか?

ありがとうございます。

ベストアンサー1

私のDebianテストシステムでは、apxs実際にはパッケージの一部ですapache2-devdpkg-query -L apache2-devapache2-dev パッケージにどのファイルがあるかを表示します。確認していただけますか? (コメントでなければなりませんが評判が低いためコメントできません。)

おすすめ記事