Static vs. Dynamic Build of PHP4

From: Date: Fri, 12 Mar 2004 14:22:04 +0000
Subject: Static vs. Dynamic Build of PHP4
Groups: php.general 
Request: Send a blank email to php-general+get-180255@lists.php.net to get a copy of this message
I am running on one Linux server which has PHP built statically; the CLI and Apache modules are both over 5.5MB. On another where it is built dynamically they are closer to 1.2MB. Is there any data on the performance tradeoffs of static vs. dynamic builds? I understand the factors (static eliminates the overhead to load needed libraries, dynamic reduces memory footprint) but I wonder if there is any real-world data on when one is better than the other. We are using PHP primarily as an Apache module, not CGI or CLI. Thanks, -- Tom

« previous php.general (#180255) next »