配置选项

Table of Contents

add a note

User Contributed Notes 3 notes

up
-3
jovcic ate gseis stop ucla stop edu
10 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.
up
-3
ceo at l-i-e dot com
14 years ago
--enable-sigchild is only relevent to users of Oracle who are having <defunc> processes.
up
-5
squeeNoSpam at NoSpamAddress dot com
13 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)