Re: gd problem
| From: | Brian Clark | Date: | Sat, 22 Dec 2001 21:00:28 +0000 |
| Subject: | Re: gd problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78592@lists.php.net to get a copy of this message | ||
* Phillip B. Bruce (pbbruce@mindspring.com) [Dec 22. 2001 14:47]:
> Hi,
Hi.
> How can I tell if a web server has gd library load properly. I'm
> having problem with
> the imagecreatejpeg as the graphics does not want to come up. The
> code is correct.
> As other images that doesn't use this are coming up ok.
Do this:
% echo '<?php phpinfo();?>' > /path/to/web/root/foo.php
(of course, change the path to taste)
Then open foo.php in your web browser. Look for the section titled `gd'
That should tell you everything you need to know about gd support in
your build of PHP.
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Forget Napster. Why not really break the law?