VPS侦探论坛

 找回密码
 注册
查看: 3309|回复: 1

centos lnamp 安装x-sendifle 求助

[复制链接]
发表于 2017-5-2 10:18:33 | 显示全部楼层 |阅读模式

[root@iZ94xaro8yvZ mod_xsendfile-0.12]# apxs -cia mod_xsendfile.c
Package apr-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `apr-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'apr-1' found
cannot open /httpd/build/config_vars.mk: No such file or directory at /usr/bin/apxs line 214.


http://blog.csdn.net/aoshilang2249/article/details/50300257 安装这个文章安装sendfile 遇到问题,请军哥帮助 ,
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-2 11:23:09 | 显示全部楼层


使用绝对路径,参考:https://bbs.vpser.net/thread-14184-1-1.html
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-27 05:54 , Processed in 0.024971 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表