jordanwb Posted July 24, 2008 Share Posted July 24, 2008 I'm installing Gentoo onto my server and I'm currently configuring the USE flag. What do i need to put to have graphics support? I mean resizing images on the fly in PHP scripts. Is it gd? Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/ Share on other sites More sharing options...
trq Posted July 24, 2008 Share Posted July 24, 2008 I don't believe there is a gd flag. The easiest way to see what flags you need to is do a pretend emerge (been a while since Iv'e used gentoo but I believe emerge -pv php5 should do it), this will show you what flags enable what. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598786 Share on other sites More sharing options...
neylitalo Posted July 24, 2008 Share Posted July 24, 2008 Close, thorpe - just a minor change to the package name. emerge -pv php shows me this: $ emerge -pv php These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/php-5.2.6-r2 USE="apache2 berkdb bzip2 cjk cli crypt exif ftp gd gdbm iconv imap ipv6 json mysql ncurses nls pcre posix postgres readline reflection session simplexml soap spl sqlite ssl truetype unicode xml xmlreader xmlwriter zip zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -snmp -sockets -solid -spell -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlrpc -xpm -xsl -yaz -zip-external" 0 kB The "gd" flag is indeed the one you want, but I'm not sure if you need it. I think that just adds support for external GD, and disables PHP's bundled GD. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598793 Share on other sites More sharing options...
jordanwb Posted July 24, 2008 Author Share Posted July 24, 2008 Sp which would be better? Built in or external? Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598800 Share on other sites More sharing options...
neylitalo Posted July 24, 2008 Share Posted July 24, 2008 I don't think it makes much of a difference. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598803 Share on other sites More sharing options...
jordanwb Posted July 24, 2008 Author Share Posted July 24, 2008 All right then I'll put gd in. Also for the $_SESSION superglobal there is a use flag called "session" with the description of "Adds Persistent Session Support", does this flag enable the $_SESSION superglobal or is this something different. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598805 Share on other sites More sharing options...
trq Posted July 24, 2008 Share Posted July 24, 2008 Yeah, you'll want the session flag enabled. I actually remember that one. Been a long while since I played with Gentoo, might even set it up sometime soon in one of my vps's. I kinda miss it. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598836 Share on other sites More sharing options...
jordanwb Posted July 24, 2008 Author Share Posted July 24, 2008 Ok thanks. Quote Link to comment https://forums.phpfreaks.com/topic/116446-solved-gentoo-what-use-flag-do-i-need-for-graphics-support/#findComment-598853 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.