Subject: Re: PHP5 and GD?
To: Glyn Astill <glynastill@yahoo.co.uk>
From: Jahislove <Jahislove@wanadoo.fr>
List: port-cobalt
Date: 10/28/2006 20:43:42
here is what i do on my Qube ,just check your own path , it may differ :
To enable GD module, add the following to /usr/pkg/etc/php.ini:
extension=gd.so
and make sure extension_dir ( in php.ini) points to the dir where gd.so is.
extension_dir = /usr/pkg/lib/php/20020429/
Glyn Astill a écrit :
> Hi People,
>
> Since I last posted on here I've been busy setting up my qube again.
> I've got samba up and running and installed apache, php & mysql using
> pkgsrc by following a guide here:
>
> http://wiki.netbsd.se/index.php/How_to_install_a_LAMP_Server
>
> I've tested apache and php and they're working, mysql is running
> however I haven't tried to connect to it at all yet.
>
> My first problem is GD/GD2.
>
> I installed apache using pkgsrc, and now when I do phpinfo(); there
> is no entry showing that gd is there or enabled. Does anyone know how
> to enable gd? Do I have to completely reinstall php via pkgsrc (if so
> how do I enable gd? can I just do ./configue --with gd befor make?)
> or can I just add gd2 and php will detect it?
>
> Any ideas would be great,
>
> Thanks
> Glyn
>
>
> Glyn Astill
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
>
>