PHP官方手册 - 让我们略微加速

PHP - Manual: 配置选项 (官方文档)

更新于:2019-07-16 (57阅读)

配置选项

Table of Contents

add a note add a note

User Contributed Notes 2 notes

up
-9
squeeNoSpam at NoSpamAddress dot com
16 years ago
[Editor's note: The reason why some general options for the "configure" scripts are not documented is that said script is part of the GNU autoconf tools, and as such its general options are documented elsewhere, e.g.: http://www.gnu.org/manual/autoconf/index.html and http://www.airs.com/ian/configure/. Some are also documented in the INSTALL file that comes with the source distribution.]

The --prefix=PREFIX configure option isn't mentioned here. It apparently defaults to /usr/local, and sets the position of the php includes and libs. (in PREFIX/include/php and PREFIX/lib/php)
up
-14
jovcic ate gseis stop ucla stop edu
13 years ago
If you'e compiling a shared extension (e.g. pspell) whose libs & headers are not in the usual place, use the following:

--with-pspell=shared,/my/custom/path/to/pspell/

Took me forever to figure out, since Google had no answer for me.

官方地址:https://www.php.net/manual/en/configure.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号