enable / configure php to use the GD library

2009-09-23 Thread Kevin Kempter
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



bhello/b

?php
var_dump(gd_info());
?





Thoughts?


Thanks in advance

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: enable / configure php to use the GD library

2009-09-23 Thread Phil Meyer

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



bhello/b

?php
var_dump(gd_info());
?





Thoughts?


Thanks in advance

   


yum install php-gd

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: enable / configure php to use the GD library

2009-09-23 Thread Phil Meyer

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



bhello/b

?php
var_dump(gd_info());
?


   


mis-read, sorry.

Did you restart the web server AFTER installing php-gd?

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


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

2009-09-23 Thread Kevin Kempter
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
 
 
 
  bhello/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

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines