List Info

Thread: PHP5 and GD?




PHP5 and GD?
user name
2006-10-28 14:50:08
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_LAM
P_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.yah
oo.com 
PHP5 and GD?
user name
2006-10-28 14:50:08
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_LAM
P_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.yah
oo.com 
PHP5 and GD?
user name
2006-10-28 17:47:22
Hi Glyn,

         Followed the same guide and had the same problem.
It comes down to 
editing the Makefile for PHP to enable GD. Unfortunately, I
haven't got it 
to work yet either, but I haven't given up yet... I'll
gladly trade info 
with you as this progresses! I'd also be interested in Curl
support, but 
that didn't work either...

Kind Regards,
Pete.

At 15:50 28/10/2006, Glyn Astill wrote:
>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_LAM
P_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.yah
oo.com

PHP5 and GD?
user name
2006-10-28 18: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_LAM
P_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.yah
oo.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.
>
>
>
>
>   
PHP5 and GD?
user name
2006-10-29 12:27:30
Hi Pete,

I've cracked this one.

I found loads of resources and forums on the net mentioning
having to
edit the Makefile, or adding switches or using something
called
/usr/ports/lang/php5-extrensions (I think that was for
linux) etc.

And it all confused me, so I decided it was all cowpoo and
I'd just
sit and figure this one out by myself. Basically I figured
the
exstension is totally separate to php, php is okay, gd just
needs
building and adding to php.ini.

After a bit of a scout around the pkgsrc directory I found
"/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do the
trick.

so
    cd /usr/pkgsrc/graphics/php-gd
    make install clean

and then gd.so appears in my include directory
"/usr/pkg/lib/php/20040412" on my install.

so then just add extension=gd.so

Job done.

Glyn

--- Pete Rushmere <peterushmere.org> wrote:

> Hi Glyn,
> 
>          Followed the same guide and had the same
problem. It comes
> down to 
> editing the Makefile for PHP to enable GD.
Unfortunately, I haven't
> got it 
> to work yet either, but I haven't given up yet... I'll
gladly trade
> info 
> with you as this progresses! I'd also be interested in
Curl
> support, but 
> that didn't work either...
> 
> Kind Regards,
> Pete.
> 
> At 15:50 28/10/2006, Glyn Astill wrote:
> >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_LAM
P_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.yah
oo.com
> 
> 



Glyn Astill


Send instant messages to your online friends http://uk.messenger.yah
oo.com 
PHP5 and GD?
user name
2006-10-29 12:27:30
Hi Pete,

I've cracked this one.

I found loads of resources and forums on the net mentioning
having to
edit the Makefile, or adding switches or using something
called
/usr/ports/lang/php5-extrensions (I think that was for
linux) etc.

And it all confused me, so I decided it was all cowpoo and
I'd just
sit and figure this one out by myself. Basically I figured
the
exstension is totally separate to php, php is okay, gd just
needs
building and adding to php.ini.

After a bit of a scout around the pkgsrc directory I found
"/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do the
trick.

so
    cd /usr/pkgsrc/graphics/php-gd
    make install clean

and then gd.so appears in my include directory
"/usr/pkg/lib/php/20040412" on my install.

so then just add extension=gd.so

Job done.

Glyn

--- Pete Rushmere <peterushmere.org> wrote:

> Hi Glyn,
> 
>          Followed the same guide and had the same
problem. It comes
> down to 
> editing the Makefile for PHP to enable GD.
Unfortunately, I haven't
> got it 
> to work yet either, but I haven't given up yet... I'll
gladly trade
> info 
> with you as this progresses! I'd also be interested in
Curl
> support, but 
> that didn't work either...
> 
> Kind Regards,
> Pete.
> 
> At 15:50 28/10/2006, Glyn Astill wrote:
> >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_LAM
P_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.yah
oo.com
> 
> 



Glyn Astill


Send instant messages to your online friends http://uk.messenger.yah
oo.com 
PHP5 and GD?
user name
2006-10-29 12:28:46
Hi Pete,

I've cracked this one.

I found loads of resources and forums on the net mentioning
having to
edit the Makefile, or adding switches or using something
called
/usr/ports/lang/php5-extrensions (I think that was for
linux) etc.

And it all confused me, so I decided it was all cowpoo and
I'd just
sit and figure this one out by myself. Basically I figured
the
exstension is totally separate to php, php is okay, gd just
needs
building and adding to php.ini.

After a bit of a scout around the pkgsrc directory I found
"/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do the
trick.

so
    cd /usr/pkgsrc/graphics/php-gd
    make install clean

and then gd.so appears in my include directory
"/usr/pkg/lib/php/20040412" on my install.

so then just add extension=gd.so

Job done.

Glyn

--- Pete Rushmere <peterushmere.org> wrote:

> Hi Glyn,
> 
>          Followed the same guide and had the same
problem. It comes
> down to 
> editing the Makefile for PHP to enable GD.
Unfortunately, I haven't
> got it 
> to work yet either, but I haven't given up yet... I'll
gladly trade
> info 
> with you as this progresses! I'd also be interested in
Curl
> support, but 
> that didn't work either...
> 
> Kind Regards,
> Pete.
> 
> At 15:50 28/10/2006, Glyn Astill wrote:
> >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_LAM
P_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.yah
oo.com
> 
> 



Glyn Astill


Send instant messages to your online friends http://uk.messenger.yah
oo.com 
PHP5 and GD?
user name
2006-10-29 12:28:46
Hi Pete,

I've cracked this one.

I found loads of resources and forums on the net mentioning
having to
edit the Makefile, or adding switches or using something
called
/usr/ports/lang/php5-extrensions (I think that was for
linux) etc.

And it all confused me, so I decided it was all cowpoo and
I'd just
sit and figure this one out by myself. Basically I figured
the
exstension is totally separate to php, php is okay, gd just
needs
building and adding to php.ini.

After a bit of a scout around the pkgsrc directory I found
"/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do the
trick.

so
    cd /usr/pkgsrc/graphics/php-gd
    make install clean

and then gd.so appears in my include directory
"/usr/pkg/lib/php/20040412" on my install.

so then just add extension=gd.so

Job done.

Glyn

--- Pete Rushmere <peterushmere.org> wrote:

> Hi Glyn,
> 
>          Followed the same guide and had the same
problem. It comes
> down to 
> editing the Makefile for PHP to enable GD.
Unfortunately, I haven't
> got it 
> to work yet either, but I haven't given up yet... I'll
gladly trade
> info 
> with you as this progresses! I'd also be interested in
Curl
> support, but 
> that didn't work either...
> 
> Kind Regards,
> Pete.
> 
> At 15:50 28/10/2006, Glyn Astill wrote:
> >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_LAM
P_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.yah
oo.com
> 
> 



Glyn Astill


Send instant messages to your online friends http://uk.messenger.yah
oo.com 
PHP5 and GD?
user name
2006-10-29 12:36:11
Oh and also I'm just trying 

cd /usr/pkgsrc/www/php-curl
make install clean

As I assume this is what we want for curl too.


--- Glyn Astill <glynastillyahoo.co.uk> wrote:

> Hi Pete,
> 
> I've cracked this one.
> 
> I found loads of resources and forums on the net
mentioning having
> to
> edit the Makefile, or adding switches or using
something called
> /usr/ports/lang/php5-extrensions (I think that was for
linux) etc.
> 
> And it all confused me, so I decided it was all cowpoo
and I'd just
> sit and figure this one out by myself. Basically I
figured the
> exstension is totally separate to php, php is okay, gd
just needs
> building and adding to php.ini.
> 
> After a bit of a scout around the pkgsrc directory I
found
> "/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do
> the
> trick.
> 
> so
>     cd /usr/pkgsrc/graphics/php-gd
>     make install clean
> 
> and then gd.so appears in my include directory
> "/usr/pkg/lib/php/20040412" on my install.
> 
> so then just add extension=gd.so
> 
> Job done.
> 
> Glyn
> 
> --- Pete Rushmere <peterushmere.org> wrote:
> 
> > Hi Glyn,
> > 
> >          Followed the same guide and had the same
problem. It
> comes
> > down to 
> > editing the Makefile for PHP to enable GD.
Unfortunately, I
> haven't
> > got it 
> > to work yet either, but I haven't given up yet...
I'll gladly
> trade
> > info 
> > with you as this progresses! I'd also be
interested in Curl
> > support, but 
> > that didn't work either...
> > 
> > Kind Regards,
> > Pete.
> > 
> > At 15:50 28/10/2006, Glyn Astill wrote:
> > >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_LAM
P_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.yah
oo.com
> > 
> > 
> 
> 
> 
> Glyn Astill
> 
> 
> Send instant messages to your online friends
> http://uk.messenger.yah
oo.com 
> 



Glyn Astill



		
___________________________________________________________ 
Now you can scan emails quickly with a reading pane. Get the
new Yahoo! Mail. http://uk.doc
s.yahoo.com/nowyoucan.html
PHP5 and GD?
user name
2006-10-29 12:36:11
Oh and also I'm just trying 

cd /usr/pkgsrc/www/php-curl
make install clean

As I assume this is what we want for curl too.


--- Glyn Astill <glynastillyahoo.co.uk> wrote:

> Hi Pete,
> 
> I've cracked this one.
> 
> I found loads of resources and forums on the net
mentioning having
> to
> edit the Makefile, or adding switches or using
something called
> /usr/ports/lang/php5-extrensions (I think that was for
linux) etc.
> 
> And it all confused me, so I decided it was all cowpoo
and I'd just
> sit and figure this one out by myself. Basically I
figured the
> exstension is totally separate to php, php is okay, gd
just needs
> building and adding to php.ini.
> 
> After a bit of a scout around the pkgsrc directory I
found
> "/usr/pkgsrc/graphics/php-gd" and thought it
sounded like it'd do
> the
> trick.
> 
> so
>     cd /usr/pkgsrc/graphics/php-gd
>     make install clean
> 
> and then gd.so appears in my include directory
> "/usr/pkg/lib/php/20040412" on my install.
> 
> so then just add extension=gd.so
> 
> Job done.
> 
> Glyn
> 
> --- Pete Rushmere <peterushmere.org> wrote:
> 
> > Hi Glyn,
> > 
> >          Followed the same guide and had the same
problem. It
> comes
> > down to 
> > editing the Makefile for PHP to enable GD.
Unfortunately, I
> haven't
> > got it 
> > to work yet either, but I haven't given up yet...
I'll gladly
> trade
> > info 
> > with you as this progresses! I'd also be
interested in Curl
> > support, but 
> > that didn't work either...
> > 
> > Kind Regards,
> > Pete.
> > 
> > At 15:50 28/10/2006, Glyn Astill wrote:
> > >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_LAM
P_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.yah
oo.com
> > 
> > 
> 
> 
> 
> Glyn Astill
> 
> 
> Send instant messages to your online friends
> http://uk.messenger.yah
oo.com 
> 



Glyn Astill



		
___________________________________________________________ 
Now you can scan emails quickly with a reading pane. Get the
new Yahoo! Mail. http://uk.doc
s.yahoo.com/nowyoucan.html
[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )