Results 1 to 9 of 9

Thread: How to enable XPM library in gd?

  1. #1
    Join Date
    Feb 2013
    Beans
    9

    Exclamation How to enable XPM library in gd?

    Hello, i installed php with gd library, but when i check php.ini files it doesnt show the xpm and xbm libraries, id like to know how do i enable these extensions. Because i need to insert Captcha in my website.

    Ps: i installed libxpm-dev and libxpm through apt-get install command. And nothing changed in php.ini.

    Link: http://www.pergunteaoprofissional.com.br/gd.php

    Regards,

    Paulo Menezes

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to enable XPM library in gd?

    You enable support for xpm by specifying the --with-XXXX configure switch to your PHP configure line. Just add --with-xpm-dir=DIR. If configure is not able to find the required libraries, you may add the path to your X11 libraries.

    DIR is the GD base install directory.

  3. #3
    Join Date
    Feb 2013
    Beans
    9

    Please Help!!!!

    Hello, i installed php with gd library, but when i check php.ini files it doesnt show the xpm and xbm libraries, id like to know how do i enable these extensions. Because i need to insert Captcha in my website.

    Ps: i installed libxpm-dev and libxpm through apt-get install command. And nothing changed in php.ini.

    Link: http://www.pergunteaoprofissional.com.br/gd.php

    Regards,

    Paulo Menezes

  4. #4
    Join Date
    Feb 2013
    Beans
    9

    Re: How to enable XPM library in gd?

    Quote Originally Posted by slickymaster View Post
    You enable support for xpm by specifying the --with-XXXX configure switch to your PHP configure line. Just add --with-xpm-dir=DIR. If configure is not able to find the required libraries, you may add the path to your X11 libraries.

    DIR is the GD base install directory.
    In very new in linux platform, can you tell me where can i find this directory?

  5. #5
    Join Date
    Feb 2013
    Beans
    9

    Re: How to enable XPM library in gd?

    I noticed you are from POrtugal, im from Brasil, maybe its easier talking in portuguese if you agree.

    Quote Originally Posted by slickymaster View Post
    You enable support for xpm by specifying the --with-XXXX configure switch to your PHP configure line. Just add --with-xpm-dir=DIR. If configure is not able to find the required libraries, you may add the path to your X11 libraries.

    DIR is the GD base install directory.

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to enable XPM library in gd?

    Tudo bem, Paulo. Assim será mais imediato.

    O que tens de fazer é passar o parâmetro usando --with-gd = "Caminho", em que "Caminho" é o local (caminho/path para a pasta) onde está a biblioteca.

    Para saberes onde a biblioteca está, basta abrires uma janela/terminal e correres os seguintes comandos:
    Code:
    cd /
    find -name *versão da tua libgd*
    Espero ter ajudado e que consigas resolver o teu problema.

    Abraço.

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to enable XPM library in gd?

    Se precisares de referências, dá uma vista de olhos ao manual de instalação. O idioma está em pt_BR.

    Boa sorte.

  8. #8
    Join Date
    Feb 2013
    Beans
    9

    Question A little help here please!

    Hello, i want to enable XPM Support to php5-gd , and i know i have to put --with-xpm-dir=DIR somewhere i dont know. What file should i edit to insert this command.

    GD.php:http://www.pergunteaoprofissional.com.br/gd.php

    Thank You

  9. #9
    Join Date
    Oct 2006
    Beans
    58,279

    Re: How to enable XPM library in gd?

    Threads merged, please keep to one thread per issue, make it easier on anyone trying to help you.

Tags for this Thread

Bookmarks

Posting Permissions

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