Chris Frederick writes:
> --enable-shared --disable-static

You might want to try the opposite:

--disable-shared (static is default)

Loadable PHP modules are really only useful if you are packaging it for
others.  If the build is just for your box(es), loadable modules just adds
extra overhead and potential problems.  This is especially true for CGI.

> --enable-pic

There is no option enable-pic option.  The correct option is with-pic or
without-pic.  You can safely leave this out entirely.

> --enable-inline-optimization

This is the default.

> --enable-debugger

This option is only for PHP 3.

> --with-versioning

The option is enable-versioning.  You don't need this unless you are trying
to build both PHP 3 and PHP 4 as an Apache module.  You certainly don't need
it for CGI.

> --enable-trans-sid

This option is always compiled with 4.2.0 and above.

> --with-ctype

This is enabled by default in 4.2.0 and above.

> --without-aspell

This appears to be depracted.  At best, it is the default.

> --without-kerberos

This is the default.

> Installing PHP SAPI module
> cp:  cannot stat 'sapi/cgi/php': No such file or directory
> make: *** [install-sapi] Error 1

If you didn't start from freshly unpacked source, did you do a "make
distclean" before configuring?

Look at the last line from make.  What executable was it linking?  Look in
sapi/cgi and see if there is a php binary.

--
David Phillips <david at acz.org>
http://david.acz.org/


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list