J
jhohman
Guest
Okay, I've been trying to get this to work for 5 or 6 hours, and I've all but given up.
For some reason, plesk didn't install GD on my Fedora Core 3 server, so I decided to take matters into my own hands. I downloaded GD, compiled and installed it. Then I downloaded php (4.4.0, also tried the newest version), and compiled it. Now if I run "php -m" the "gd" module shows in the list, but if I run a script with "phpinfo()" in it, it doesn't show the gd module.
Here's what I used to configure PHP:
./configure --build=i386-redhat-linux --host=i386-redhat-linux \
--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-kerberos --with-ldap=shared \
--with-mysql=shared,/usr \
--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-pic \
--with-apxs=/usr/local/psa/admin/bin/apxs \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-gd
Any idea what I'm doing wrong? Is there anything else I can submit to help?
For some reason, plesk didn't install GD on my Fedora Core 3 server, so I decided to take matters into my own hands. I downloaded GD, compiled and installed it. Then I downloaded php (4.4.0, also tried the newest version), and compiled it. Now if I run "php -m" the "gd" module shows in the list, but if I run a script with "phpinfo()" in it, it doesn't show the gd module.
Here's what I used to configure PHP:
./configure --build=i386-redhat-linux --host=i386-redhat-linux \
--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-kerberos --with-ldap=shared \
--with-mysql=shared,/usr \
--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-pic \
--with-apxs=/usr/local/psa/admin/bin/apxs \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-gd
Any idea what I'm doing wrong? Is there anything else I can submit to help?