apache - 编译安装PHP,如何生成libphp.so

WBOY
Release: 2016-06-06 20:09:00
Original
2026 people have browsed it

编译安装PHP,如何指定Apache调用模块libphp.so的安装目录

回复内容:

编译安装PHP,如何指定Apache调用模块libphp.so的安装目录

如果以Apache mod_php方式运行PHP,需要先构建Apache,然后在configure PHP时用--with-apxs2=/usr/local/bin/apxs 指定Apache的扩展编译程序apxs,这样才能编译出libphp5.so这个模块,Apache在运行时就是调用这个模块来处理PHP请求。

via http://www.oschina.net/question/998413_137073

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!