Home > Backend Development > PHP Tutorial > apache - 编译安装PHP,如何生成libphp.so

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:09:00
Original
2166 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template