Re: php410, gd=shared, missing gd.so
| From: | Yasuo Ohgaki | Date: | Thu, 13 Dec 2001 02:51:25 +0000 |
| Subject: | Re: php410, gd=shared, missing gd.so | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5291@lists.php.net to get a copy of this message | ||
Jason Donald wrote:
Hi, Under php4.0.6 my configure/make/makeinstall created a gd.so file (which is picked up when using <? dl("gd.so"); ?>). Under php4.1.0 my install creates a gd.a file, and <? dl("gd.so"); ?> doesn't work anymore. If I compile it in as non shared, it works just fine. I am using it as .so to keep the httpd size down and performance up as we don't use GD very much on our server.Most UNIX like system supports shard text segment for binary, you don't have to worry much about memory usage for including modules.... dl() has some known problems also (It works most for cases, so you probably don't have to worry) Anyway, you can try to build gd module as self contained module. Read README.SELF-CONTAINED-EXTENSION in PHP source root to build it as self contained module. It may work. -- Yasuo Ohgaki