I would like to compile a completely static PHP CGI binary.  I don't just
want the PHP modules compiled statically into the binary.  I want ALL
libraries that PHP uses to be linked into the executable.  ldd should say
"not a dynamic executable".  I spent a good while messing around with all
the PHP build scripts but couldn't get it to work.

Is there an easy or recommended method for doing this?  Is it possible to do
without redoing the build system?  Has anyone succeeded in doing this?

I am wanting to do this to see if it decreases PHP startup time.  PHP takes
a significant amount of time to startup and I think it is due at least in
part to all of the shared library dependencies.  I am using PHP as a CGI on
a FreeBSD box under Zeus.  PHP is running as a CGI for security.  It is a
shared hosting environment, so all CGI scripts run as the owner of the
script.

--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to