mod_php *is* what you need for a web-server.
To effectively activate the module you need to add a variable like this APACHE2_OPTS="-D PHP5"
in /etc/conf.d/apache2.


an "emerge -pv mod_php" show this:
dev-php/php-5.0.3 (-adabas) -bcmath -berkdb (-birdstep) +bzlib -calendar -cdb (-cpdflib) +crypt +ctype +curl +curlwrappers -db2 +dba -dbase -dbm (-dbmaker) -dbx -debug +dio (-empress) (-empress-bcs) (-esoob) +exif +fam (-fdftk) (-filepro) -flatfile (-frontbase) +ftp +gd -gd-external +gdbm +gmp -hyperwave-api +iconv -imap (-informix) (-ingres) +inifile -interbase -iodbc +jpeg -kerberos +ldap -libedit -mcve -memlimit +mhash +mime -ming -mnogosearch -msession -msql -mssql -mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos +pcntl -pcre (-pfpro) +png +posix -postgres -qdbm +readline -recode -sapdb -sasl -session -shared -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -spell +spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc -tidy +tiff +tokenizer -truetype -wddx +xml2 -xmlrpc -xpm +xsl +zlib


so probably you want to reemerge only mod_php with:
USE="gd -gd-external" emerge -av mod_php



John Dangler ha scritto:
Francesco~
Thanks for the reply.  Actually, looking through the information in php -i,
I find that --without-gd is there.  I emerged gd, and recompiled php, but it
stayed the same.  do I need to unemerge php and then emerge it again?
or is there something else I'm not getting...
I do have mod_php showing as having been emerged, but at the end of the
client, I get a message telling me that this is a client only and cannot be
used on a webserver...

Thanks for the help.  I really appreciate it.

John Dangler
GenoFit
800-505-4078 (Corporate)
386-767-3730 (Direct)
www.genofit.com
[EMAIL PROTECTED]


-----Original Message-----
From: Bastian Balthazar Bux [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 7:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] emerge php...


John Dangler ha scritto:

I emerged php onto my testing box, but functions like imagecreatefrompng fail. Is this because I only have php as a client ? If so, how do I get php on gentoo as a server?

OR

is this because I'm missing gdlib?



Thanks.



JD




The output of the <?php phpinfo(); ?> function show that Configure Command has run with "--with-gd" if yes is the gd section like this
gd


GD Support => enabled
GD Version => bundled (2.0.28 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled
?

remember that gentoo has
dev-php/php for the command line interface (CLI)
and
dev-db/mod_php for the apache module

if you mean the CLI as "client" you can run the equivalent of a phpinfo with:
# php -i


hih
Francesco



--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
--
[email protected] mailing list



Reply via email to