手机看片精品高清国产日韩,色先锋资源综合网,国产哺乳奶水91在线播放,乱伦小说亚洲色图欧洲电影

幫助中心 >  技術知識庫 >  數據庫 >  相關技術支持 >  如何解決/replace/with/path/to/perl/interpreter: bad interpreter: No such file or directory

如何解決/replace/with/path/to/perl/interpreter: bad interpreter: No such file or directory

2017-01-10 10:44:37 19178

在源碼編譯php時候錯誤:

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed

2. apxs was not found. Try to pass the path using –with-apxs2=/path/to/apxs

3. Apache was not built using –enable-so (the apxs usage page is displayed)

The output of /etc/httpd24 /bin/apxs follows:

./configure: /etc/httpd24 /bin/apxs: not found

configure: error: Aborting

blob.png

解決方法:

(1)確保已經安裝了perl

yum install perl perl-devel

   (2) vi /usr/local/apache2/bin/apxs

 

#!/usr/bin/perl -w ####原來為 /replace/with/path/to/perl/interpreter

blob.png

blob.png

 


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: