|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: david at acz dot org
New email:
PHP Version: OS:


 [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: Fri Feb 23 19:01:29 2024 UTC