enable / configure php to use the GD library (SOLVED)

Kevin Kempter kevink at consistentstate.com
Wed Sep 23 19:53:14 UTC 2009


On Wednesday 23 September 2009 13:44:32 Phil Meyer wrote:
> On 09/23/2009 01:40 PM, Kevin Kempter wrote:
> > Hi all;
> >
> > I want to setup my php install to have access to GD.
> >
> > GD seems to be installed in /usr/local/bin
> >
> > and I did install php-gd however if I access the below code in a tst.php
> > file I only see the "hello"
> >
> >
> >
> > <b>hello</b>
> >
> > <?php
> > var_dump(gd_info());
> > ?>
> 
> mis-read, sorry.
> 
> Did you restart the web server AFTER installing php-gd?
> 

Turns out it was a PATH issue. I added /usr/local/bin to the path in 
/etc/profile and it works




More information about the fedora-list mailing list