StrangeRanger Posted May 22, 2007 Share Posted May 22, 2007 Hi all, The details: - Fedora Core 4 - Apache 2.054 - PHP 5.0.4 I started out w/ no gd support at all. Being the Linux noob I am I spent some days reading manuals, forums etc. Learned how to use yum and got gd support enabled on my server. Ya! Ran some test scripts and it all looks good. But then I run phpinfo and not what I wanted to see. Near the bottom of the page where the gd section it is everything looks peachy, but up at the top in the 'config file' section I see that blasted 'without-gd' line. And of course my script is not working on my site the way it's supposed to. So I've done a ton more reading and searching and I'm obviously missing something or too stoopid to figure this out on my own. I've tried to reconfigure PHP a bunch of times, but can not get it to work. Can someone please, for the love of god, help me before I go insane!? Please tell me what info, files, etc you need to know or see to help me. Thank you in advance, j Quote Link to comment https://forums.phpfreaks.com/topic/52539-please-help-reconfigure-php-for-gd-support/ Share on other sites More sharing options...
StrangeRanger Posted May 22, 2007 Author Share Posted May 22, 2007 Figured ya'll might need these, I don't know what to do: Config command: ./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-libdir=lib \ --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic \ --disable-rpath --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-pear=/usr/share/pear \ --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 --with-apxs2=/usr/sbin/apxs \ --without-mysql --with-gd --without-odbc --disable-dom --disable-dba And then I get this: loading cache ../config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... //bin/sed checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for icc... no checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking whether ln -s works... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for flex version... 2.5.4 (ok) checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/sbin/apxs follows: ./configure: line 6512: /usr/sbin/apxs: No such file or directory configure: error: Aborting Ideas? Thanks, j Quote Link to comment https://forums.phpfreaks.com/topic/52539-please-help-reconfigure-php-for-gd-support/#findComment-259257 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.