首页>>帮助中心>>美国服务器如何解决replac101报错

美国服务器如何解决replac101报错

2024/12/3 165次

美国服务器如何解决/replace/with/path/to/perl/interpreter: bad interpreter: No such file or directory – 蓝队云

在源码编译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

解决方法:
(1)确保已经安装了perl
yum install perl perl-devel
(2) vi /usr/local/apache2/bin/apxs

#!/usr/bin/perl -w ####原来为 /replace/with/path/to/perl/interpreter



购买使用一诺网络美国服务器,可以极大降低初创企业、中小企业以及个人开发者等用户群体的整体IT使用成本,无需亲自搭建基础设施、简化了运维和管理的日常工作量,使用户能够更专注于自身的业务发展和创新。美国服务器低至49元/月,购买链接:https://www.enuoidc.com/vpszq.html?typeid=3

版权声明

    声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们996811936@qq.com进行处理。