PHP compiling

BODBOD
edited February 2005 in Software
i just reinstalled FreeBSD 5.3 on my server and i've compilied apache 1.3.33, but the version of PHP in the ports collection (4.3.9) is not the latest. how would I get the latest version (4.3.10) into the ports collection?

Comments

  • just download that tar.gz file from www.php.net and compile it

    cd into the dir where php was dled
    tar zxvpf php-4.3.10.tar.gz
    cd php-4.3.10
    ./configure --with-mysql=/path/to/mysql --with-apxs=/path/to/apache/bin/apxs
    make
    make install

    and your good, its that easy
  • The user and all related content has been deleted.
  • Thanks.

    And my server is a 333MHz Celery LOL
  • I'm not sure of -march=crap is a valid option. lmao
  • Go do some research. :P The early Celerons were actually quit good. (The ones that had a 128K L2 cache)
  • Well....the recent ones are not so hot, which led to my statement.
  • right im gonna recompile this to include gd support because my sig doesnt work :(.

    presumably i just add
    --enable-gd
    
    to the confgure line tom said?
  • The user and all related content has been deleted.
  • i cant find libpng or libjpeg in the ports collection. the nearest i found was jpeg and png, which were already installed. i recompiled php and it still doesnt work. am i missing anything?
  • The user and all related content has been deleted.
  • maybe i should use this instead of what i suggested?
    --with-gd --enable-gd-native-ttf
    

    EDIT: when i got to http://bod.no-ip.org/sig3.php

    it says
    "sig3.php cannot be displayed becuase it contains errors"

    im recompliling again now

    EDIT2: i tried that configure line above and it worked (dance)

    Thanks Tom
  • The user and all related content has been deleted.
Sign In or Register to comment.