2017-04-26 13 views
0

のソースコードをビルドする際のapacheが構築されていないとエラーが... [APXSを通じてDSO経由でのApache 2.0ハンドラ・モジュールのサポートのためのチェックです私は、そこのapxsが見つからないと、私は(のconfigure)phpspreadsheet

申し訳ありませんapxsを実行できません。考えられる理由は、次のとおりです。

  1. Perlは
  2. のapxsが見つからなかったインストールされていません。/USRの出力

(APXS使用ページが表示されている)Apacheが--enable-SOを使用して構築されていなかった--with-apxs2 = /パス/に/ APXS

  • 使用してパスを通過しようとします/ローカル/ apacheの/ binに/ apxsを次の: は./configure:行6199:は/ usr/local/apacheの/ binに/ apxsを:そのようなファイルまたはディレクトリ のconfigure:エラー:中止]

    をそれが誤りであることを示唆しています私はこれのための解決策です。ここで

  • 答えて

    -1

    はAPXパスで/usr/local/apache2/bin/apxs

    私のApacheのインストールディレクトリは/usr/local/apache2

    ディレクトリを変更するPHPのフォルダであり、コマンドの下

    ./configure \ 
        --with-apxs2=/usr/local/apache2/bin/apxs \ 
        --with-curl=/usr \ 
        --with-gd \ 
        --with-gettext \ 
        --with-jpeg-dir=/usr \ 
        --with-freetype-dir=/usr \ 
        --with-kerberos \ 
        --with-openssl \ 
        --with-mcrypt=/usr/local/lib \ 
        --with-mhash \ 
        --with-mysql=mysqlnd \ 
        --with-mysqli=mysqlnd \ 
        --with-pcre-regex \ 
        --with-pear \ 
        --with-png-dir=/usr \ 
        --with-xsl \ 
        --with-zlib \ 
        --with-zlib-dir=/usr \ 
        --with-iconv \ 
        --enable-bcmath \ 
        --enable-calendar \ 
        --enable-exif \ 
        --enable-ftp \ 
        --enable-gd-native-ttf \ 
        --enable-soap \ 
        --enable-sockets \ 
        --enable-mbstring \ 
        --enable-zip \ 
        --enable-wddx 
    
    を実行します
    関連する問題