发布于 2015-01-14 02:14:30 | 1848 次阅读 | 评论: 3 | 来源: PHPERZ

这里有新鲜出炉的精品教程,程序狗速度看过来!

Apache Web服务器

Apache是世界使用排名第一的Web服务器软件。它可以运行在几乎所有广泛使用的计算机平台上,由于其跨平台和安全性被广泛使用,是最流行的Web服务器端软件。


本文为大家讲解的是在linux下编译安装apache时提示You must specify a valid --with-apxs path错误的解决方法,感兴趣的同学参考下。

问题描述

linux 下编译捍You must specify a valid --with-apxs path

原因分析

在没有安装prel就先安装apache造成的

解决方法

[root@apache bin]# vi /usr/local/apache/bin/apxs修改下面的第一行

#!/usr/bin/perl -w
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

保存退出



最新网友评论  共有(3)条评论 发布评论 返回顶部
ggbtgk 发布于2015-08-21 12:27:39
转来的能不能尊重一下作者!!
支持(0)  反对(0)  回复
TE 发布于2016-06-11 09:31:16
TEs
支持(1)  反对(1)  回复
dsaf 发布于2016-06-11 09:31:10
asdf
支持(1)  反对(1)  回复

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务