04-03-2006
Help, Installing GD Library and Enabling.
Hi All,
I am a newbbie at UNIX/LINUX and recently installed GD library and all the jpeg6b and libpng successfuly. I have also added the extension=gd.so in the php.ini file under "Dynamic Extensions"
The issue I am having now is enabling GD library. I am suppose to now add a few lines to the php.ini file. I do not know where and how to drop these lines in that file, I am sure that I just don't drop the lines anywhere. I am also assuming I must re-compile that file or PHP, the lines must be added below:
./configure \
--with-gd \
--with-jpeg
--with-jpeg-dir=/usr/local \
--with-png
--with-png-dir=/usr/local \
make
make install
Can someone guide me
Thank-you.
9 More Discussions You Might Find Interesting
1. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
2. Linux
I m working on a project of making a boot/root pendrive linux from source.
I have got the basic working root filesystem with busybox.
Now i wish to install GNU C library. But couldnt find a proper document to refer to. Also i tried the steps in LFS with just specifying the installation directory... (2 Replies)
Discussion started by: amu
2 Replies
3. UNIX for Dummies Questions & Answers
I tried to install webalizer on my Solaris Unix server so I can look at some webserver logs. I did not have libgd installed so I installed it and I think it went ok (not sure how to tell).
But when I try and install webalizer I still get the message:
Any ideas?
Thanks. (0 Replies)
Discussion started by: Sepia
0 Replies
4. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
5. UNIX for Dummies Questions & Answers
I am installing an lin_tape-1.38.0-1.src.rpm file but it won't install
Linux version
Linux 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:41:04 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
but I am getting issues when installing
# rpmbuild --rebuild lin_tape-1.38.0-1.src.rpm
Installing... (1 Reply)
Discussion started by: karlochacon
1 Replies
6. UNIX for Dummies Questions & Answers
People i want to install a library on a solaris 10 x64 with a opteron.
The library asks for a another library called libxcb-xlib.so.0.
Does Anybody know where i can find this library?
the complete error is
root@webserver # php
PHP Warning: PHP Startup: Unable to load dynamic library... (1 Reply)
Discussion started by: enkei17
1 Replies
7. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
8. Red Hat
I'm working with a 64 bit RedHat based Linux (Oracle EL 6.1).
# uname -r
2.6.32-100.34.1.el6uek.x86_64
I have extracted a 32 bit shared library from within a RPM (rpm2cpio xx.rpm | cpio -idmv) and copied it to /lib. Then ran the ldconfig to update the cache. I can see the symbolic link is... (9 Replies)
Discussion started by: gheibia
9 Replies
9. AIX
I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message.
add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies
LEARN ABOUT OSX
php-config
php-config(1) Scripting Language php-config(1)
NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--man-dir The directory prefix where the manpages is installed
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)
VERSION INFORMATION
This manpage describes php, version 5.4.17.
COPYRIGHT
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)