configure commands to recompile php

Discussion in 'PHP' started by malchiang, Jul 26, 2007.

  1. #1
    Hi to all experts here,
    I was told I need to recompile php to enable gd, I had the jpeg and libpng libraries and I have the following option in my phpinfo

    './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-openssl' '--enable-ftp' '--enable-bcmath' '--enable-calendar' '--enable-magic-quotes' '--with-pear' '--enable-sockets'


    Can anyone help me with the configure commands to recompile php with the above + gd option as I kept getting errors. I am currently on php 5.2.3. Much appreciated.
     
    malchiang, Jul 26, 2007 IP
  2. malchiang

    malchiang Peon

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can anyone help pls.
     
    malchiang, Jul 28, 2007 IP
  3. gibex

    gibex Active Member

    Messages:
    1,060
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    95
    #3
    can you please post last compile errors here? You should see some ERROR messages.
     
    gibex, Jul 28, 2007 IP