Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I am trying to install php-gd I think I have installed as I ran yum install php-gd and it said it installed it and it upgraded my php to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    8

    php-gd


    Hi
    I am trying to install php-gd

    I think I have installed as I ran yum install php-gd and it said it installed it and it upgraded my php to v 5.1.6

    there is no entra for the extension in my php.ini Untitled Document

    I have restarted httpd and it still does not work. PHP was installed first and not compiled with the GD extension as i did not need it at the time and thought it would install now with yum ok

    not to sure where to go now to get GD to work

    Thanks for any help

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    1

    Things to look for

    Here are some things to try:

    First see if your install worked. You can create a php file with this function

    <?php
    phpInfo();
    ?>

    Run this via localhost(wwwroot) in your browser and should tell you if GD installed correctly. This will display all extensions/modules etc... that php has configured.

    Second, if GD is not visible through phpinfo() try looking in your php.ini to see if the extension dir is correct. Then check to see that the the gd.so file is located in that dir. If not I suggest to reinstall.

    I'm new to linux but not php, So I can only offer what I have learned so far.


    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •