SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I installed both php and gd but i dont get the support of gd to php
Could u plz tell me how to get the support
Actually there r some instuctions where u can build both php and gd then add support using ./configure --bla bla
but I want it from the packages itself
I mean i installed both .tgzs. what shud i do to gt the support
for information I installed first php the gd
thanks in anticipation
bye
pranith
hi,
I am using slackware 10.0
I installed php from http://linuxpackages.net
and when i run the script u have given it shows the following error
:::::::::
The image “http://localhost/php/line1.php” cannot be displayed, because it contains errors.
so wat do u think i shud do
bye
pranith
Most likely you're not sending the right content-type header. Could you post the script in question so somebody can check it out? Or try it on a known-working server.
FWIW, a good 25% of the content on my webpage is dynamically generated graphical content by PHP. I compiled my own PHP, but I used the pre-compiled GD library for it. I'm using GD extensively, most obviously in the gallery which generates thumbnails on the fly and is able to resize pictures dynamically from the original source.
The first line of your file should be the <?php line.
Do not put any whitespace before it...
I tried the same, and I had an empty line before the supplied code. This makes php think it has to output html code... I got exactly the same error as you did. After removing the empty line it works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.