PDA

View Full Version : GD, Imagemagic, ZLib


jeremy
07-28-2007, 12:11 AM
Does the plesk vps setup come with GD, Imagemagic, ZLib installed?
If not, do I ask support to install it.. I have no clue how to install them.

I purchased a php script that requires it.
Is there a way to install it for the whole VPS (for each domain without installing them to each individual domain)?

DavidP
07-30-2007, 02:38 PM
-bash-3.00# rpm -qa | grep gd
php-gd-5.1.6-3.el4s1.5
gdbm-1.8.0-24
sysklogd-1.4.1-26_EL
gd-2.0.28-4.4E.1
-bash-3.00# rpm -qa | grep zlib
zlib-1.2.1.2-1.2
zlib-devel-1.2.1.2-1.2
-bash-3.00# php -i | grep gd
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-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--enable-dom=shared' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared'
/etc/php.d/gd.ini,
gd
-bash-3.00#

Support can install imagemagick for you, and the rest should be installed by default. Remember that you can't recompile PHP on a Plesk system, as PHP and all of its modules are installed via RPM templates. Recompiling PHP or installing PHP from a default RPM can break Plesk as well as all PHP-dependant packages/scripts on the system.

If you choose to go with Plesk, we strongly recommend not trying to customize LAMP. If you need a customized LAMP configuration, you should try cPanel, or if you can handle an unmanaged system, a panel-less VPS.

jeremy
08-03-2007, 04:00 PM
Support said that imagemagik was already installed, but I am not sure if that is true because the script still does not work.

It might be though because register globals is turned off and register globals is on with the other server the script was running on.

How can I turn on register globals for just one domain name?
I heard you just put the php.ini file somewhere in the httpdocs?..

This is the phpinfo from the server running the script with no problem:
http://internationalhostingservice.com/phpinfo.php

I noticed that the register globals was off and I know that sometimes that can cause problems depending on how the programmer programmed the script.

DeanClinton
08-05-2007, 03:48 AM
Going by that phpInfo(), are you sure that imagemagik is installed?

jeremy
08-05-2007, 11:12 AM
Well support said it was but I couldn't find it either...
When I contact support I always.., always get people that seem like they don't want to do what I ask.. Like checking to see if I have imagemagik.

What do I do if they say I have imagemagik but there is no evidence of it?