|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #20181 No way to compile static binary
Submitted: 2002-10-31 01:45 UTC Modified: 2014-12-30 10:41 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: david at acz dot org Assigned:
Status: No Feedback Package: *General Issues
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
48 + 33 = ?
Subscribe to this entry?

 [2002-10-31 01:45 UTC] david at acz dot org
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-31 01:58 UTC]
Filing as feature request (I like this idea too :)
 [2014-04-16 16:44 UTC]
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues -PHP Version: 4.2.3 +PHP Version: *
 [2014-04-16 16:44 UTC]
Is there still interest in this? It might be possible already as well, I am not familiar will all build options.
 [2014-04-16 16:44 UTC]
-Operating System: FreeBSD +Operating System: *
 [2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 08:01:30 2024 UTC