[TYPO3-UG Australia] install gdlib woes
Moore, Andrew (Busselton)
andrew.moore at health.wa.gov.au
Mon Apr 7 03:01:16 CEST 2008
Hi Voytek,
I would assume with most modern Linux distributions there would be a
package that would add GD support to PHP. Although I may be wrong, my
knowledge is almost all related to the distribution we use, Mandriva
Linux.
Mandriva has a package management system based on Red Hat's RPM system.
Hence to add GD support to PHP I simply have to install the 'php-gd'
package in the Software Management section of the Control Center or
type:
urpmi php-gd
on the command line.
According to Wikipedia, Centos is also based on Red Hat so I would
assume you could do something similar?
PHPInfo will have a whole GD section once GD is enabled in PHP, with the
top line reading "GD Support : Enabled" from my experience.
I hope this helps.
Regards,
Andrew Moore
-----Original Message-----
From: typo3-ug-australia-bounces at lists.netfielders.de
[mailto:typo3-ug-australia-bounces at lists.netfielders.de] On Behalf Of
Voytek Eymont
Sent: Sunday, 6 April 2008 7:42 PM
To: TYPO3 Usergroup Australia
Subject: Re: [TYPO3-UG Australia] install gdlib woes
<quote who="Bernie Pfister (Pixelsound Web Design)">
> You need to compile PHP with GDlib. Simply installing GDlib will not
> do the trick.
>
> Some operating system (such as RedHat) might have a different version
> of PHP ready for download. A version that is already compiled with
GDlib.
Bernie, thanks
I have Centos, phpinfo says:
...
'--with-gd=shared' '--enable-gd-native-ttf'
'--with-freetype-dir=/usr'
...
is that it ?
----
PHP Version 4.3.9
System Linux 2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007 i686
Configure Command './configure' '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared'
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext'
'--with-ncurses=shared' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr'
'--with-openssl' '--with-png' '--with-pspell' '--with-xml'
'--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr'
'--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr'
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr'
'--enable-memory-limit' '--enable-shmop' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mbstring=shared'
'--enable-mbstr-enc-trans' '--enable-mbregex'
'--with-mime-magic=/usr/share/file/magic.mime'
'--with-apxs2=/usr/sbin/apxs'
----
--
Voytek
_______________________________________________
TYPO3-UG-australia mailing list
TYPO3-UG-australia at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-australia
More information about the TYPO3-UG-australia
mailing list