[PHP] PHP with GD library setup

2004-11-29 Thread MKEP09
Hello,

I have PHP on Windows XP Pro, running Apache 1.3. The
server works fine and I can run basic php scripts.
Problem is aftermodifying my php.ini file to  load the extension  php_gd2.dll 
it cant find it at all. I have tried all possible ways.

my php.ini

extension=php_gd2.dll  I REMOVED THE ;

extension_dir ="./ext" also haves used "c:\php\extensions" and "c:\php\ext" 
etc...

When running Apache 1.3 server it uses the correct address and is unable to 
load the file:  php_gd2.dll

What do I do?

Hope you can help.

Michael Porter



[PHP] php with GD library in Netscape Iplanet 4.x Web server(Sparc Solaris 2.8)

2003-07-22 Thread Raul Morales Salcedo

Hi all,

I am getting in troubles trying to install the GD library under  solaris
machine

I already installed php in my solaris machine using solaris 2.8 and
Iplanet 4.7, there is no problem to deal with,

the problem is that now I need the GD library,

what I did id the follow:

*

for the PHP with mysql, there is not problem.

configure --with-nsapi=.../.../.../Web --enable-track-vars
--enable-libgcc

make, and make install

and everything was ok, no problems!

*

now I was trying to install it with this:

configure --with-nsapi=/.../.../Web --enable-track-vars --enable-libgcc
--with-jpeg-dir --with-png-dir --with-zlib-dir --with-gd

of course that these libraries are in the phpdirectory/ext

gif, jpeg-6b, png, xpm, FreeType 1.x, FreeType 2,  T1lib and zlib

After making the configure step everything was ok.

but in the make step I got this:

---

ist.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lpng -lz -ljpeg -lz
-lcrypt -lresolv -lm -ldl -lnsl -lsocket -lgcc -lcrypt  -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
ld: elf error: file ext/st: unknown type, unable to process using
elf(3E) libraries
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'


**

I was trying also to compile with the actual libaries

total 11948
-rw-r--r--   1 root other1427072 Jul 17 13:55
freetype-1.3.1.tar.gz
drwxr-xr-x   9 520  526  512 Jul 18 18:02 freetype-2.1.4/
-rw-r--r--   1 raulms   staff1075315 Jul 18 13:44
freetype-2.1.4.tar.gz
-rw-r--r--   1 raulms   staff 774345 Jul 18 12:30
freetype-pre1.4.tar.gz
-rw-r--r--   1 raulms   staff 257631 Jul 18 17:10 gd-1.8.4.tar.gz
-rw-r--r--   1 root other 526904 Jul 17 13:31 gd-2.0.15.tar.gz
drwxrwxrwx   6 200  300 3584 Jul 18 18:41 gd-2.0.8/
-rw-r--r--   1 raulms   staff 481062 Jul 18 17:43 gd-2.0.8.tar.gz
drwxr-xr-x   3 301  20  4608 Jul 22 16:47 jpeg-6b/
-rw-r--r--   1 root other 613261 Jul 17 13:55 jpegsrc.v6b.tar.gz

drwxr-xr-x   5 620  96  1024 Oct  3  2002 libpng-1.2.5/
-rw-r--r--   1 root other 505988 Jul 17 13:55
libpng-1.2.5.tar.gz
drwxrwxr-x   6 11207oper 512 Jul 17 14:15 xpm-3.4i/
-rw-r--r--   1 root other 136248 Jul 17 13:55 xpm-3.4i.tar.gz
drwxr-xr-x   7 root other   1536 Jul 22 16:50 zlib-1.1.4/
-rw-r--r--   1 root other 181144 Jul 17 13:55 zlib-1.1.4.tar.gz

All of them are already installed in my system and I was also trying to
make the make step but I got the same error

configure --with-nsapi=/.../.../Web --enable-track-vars --enable-libgcc
--with-jpeg-dir=/.../.../.../.../jpeg-6b
--with-png-dir=/.../.../.../.../libpng-1.2.5
--with-zlib-dir=/.../.../.../.../zlib-1.1.4 --with-gd


after that

Generating files
checking for working mkdir -p... yes
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating main/build-defs.h
creating pear/scripts/phpize
creating pear/scripts/php-config
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
.
.
.

Thank you for using PHP.

again!。 everything was ok

but  in the make step I got the same thing

dl -lnsl -lsocket -lgcc -lcrypt  -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
ld: elf error: file ext/st: unknown type, unable to process using
elf(3E) libraries
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'


Any suggestion? I was trying to do a lot of things but now I have no
idea.

I will appreciate your help.

Best regards.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP with GD Support

2002-12-17 Thread Jon Haworth
Hi Oliver,

> ich want to install php.4.2.3 with gd-suport. 
> Any hints are welcome.

You'll need to look it up, or do a configure --help or something, but I
imagine you compile with something like --with-gd=/path/to/gd 

Cheers
Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP with GD Support

2002-12-17 Thread info
Hello list,

ich want to install php.4.2.3 with gd-suport. Any hints are welcome.

Oliver Etzel


[PHP] php --with-gd support

2002-12-14 Thread info
Hello List,

I want to know all about copiling, installing and configuring php with gd-support.

Anybody knows a good site or book to read about?
Oliver Etzel



[PHP] php --with-GD

2002-12-14 Thread info
Hello List,

I want to know all about copiling, installing and configuring php with gd-support.

Anybody knows.
Oliver Etzel



[PHP] PHP with GD and Jpeg

2002-10-02 Thread new.php.net

If have gd 1.8.4 compiled with zlib and jpeg support... This works fine but
whenever I try to make php 4.2.3:

configure --enable-track-vars --enable-trans-sid --with-mysql --with-apxs --
with-gd --with-jpeg-dir=/usr/local/lib --with-zlib

I register following line:

checking for gdImageCreateformGif in -lgd... (cached) no
checking for gdImageCreateformjpeg in -lgd... (cached) no

Can you tell me whats my fault?





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP with gd support

2002-02-12 Thread Gary St

I had php working with the RPMs in RedHat, but I
followed the instructions from this site:
http://www.e-gineer.com/instructions/index.phtml
(BTW;excellent site)
and now I'm working with php-4.1.1 and apache_1.3.14.
But now when browse the my PHP webpage with pics on
it, I get:
Sorry, but this script requires that your copy of PHP
has been compiled with support for images.
configure --with-gd ...

My question is: if i configure with gd support, do i
have to do the 'make' and 'make install'(I think do)
and will it mess up the other arguements i put in from
the instruction site? or do I do the configure with
all the other arguements AND --with-gd and then do the
'make' and 'make install'?

Thanks for the help

Gary 

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php