Forum Moderators: coopster

Message Too Old, No Replies

Apache 1.3.33 + PHP 5.0.4 + GD 2.0.26 doesn´t work

apache php gd

         

coyote34

3:10 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



Dear friends,

I have installed php 5 and apache with these options:

./configure --with-mysql --with-apache=../apache-1.3.33
--with-jpeg-dir="/usr" --with-png-dir="/usr" --with-zlib-dir --with-gd="/usr" --enable-gd-native-ttf
--with-freetype-dir="/usr"

Every looks like fine. But I have a barcode program that it still don´t work. Any ideas?

barcode: [ashberg.de...]

jatar_k

4:24 pm on Jun 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld coyote34,

have you followed the steps for installation to the letter?
does the program reference some library it needs that may not be included in the distro?
what is actually happening? errors?

coyote34

4:58 pm on Jun 24, 2005 (gmt 0)

10+ Year Member



Thanks for your answer.

I have installed from source and I believe all libraries are available.

There is no error, just a blank page. It looks like that php doesn´t work.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

When I try php_info() I can find the gd library installed.

jatar_k

5:03 pm on Jun 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I don't think you need that path for --with-gd

from
[ca.php.net...]

To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile.