Home Forums OS X Server and Client Discussion Web php5 with sybase-ct on mac os 10.4.x server apache 1.3

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #369970
    priglmeier
    Participant

    Anyone out there done this? There seems to be a real void when it comes to php and sybase-ct examples.
    thanks!

    #370107
    priglmeier
    Participant

    Here is my solution for a PPC based Xserve with 10.4.x:

    Installing php5 with sybase-ct on Mac OS 10.4.x server and apache 1.3.x

    Install latest version of: dev tools, x11, fink and finkcommander
    Use the mysql admin tool to install needed mysql files.

    Download the latest source of: FreeTDS, PHP5.x

    ./configure –prefix=/usr/local/freetds
    make
    make install

    The GD image processing module is a bit trickier, however. The GD libraries are bundled with PHP 4.3+, but GD is dependent on a few other libraries: zlib, libjpeg, libpng, and libtiff. You can now use Fink to install libraries with a single command. For example, here?s how you install libjpeg, libpng, and libtiff:

    sudo -s

    /sw/bin/fink install libjpeg
    /sw/bin/fink install libtiff
    /sw/bin/fink install libpng3 #### or whatever version is current
    /sw/bin/apt-get -q0 -f install compress-zlib-pm581
    /sw/bin/fink install libxml2

    /sw/bin/apt-get -q0 -f install t1lib1
    /sw/bin/apt-get -q0 -f install freetype
    /sw/bin/apt-get -q0 -f install fvwm-common
    /sw/bin/apt-get -q0 -f install gd-bin

    configure php5

    ./configure –prefix=/usr/local/php5/ –with-zlib-dir=/usr/local –with-config-file-scan-dir=/usr/local/php5/php.d –with-sybase-ct=/usr/local/freetds –with-jpeg-dir=/sw –with-png-dir=/sw –with-gd –with-mysql=/usr/local/mysql –with-mysql=/sw –with-libxml-dir=/sw –with-curl=/usr –with-apxs –enable-ftp –enable-sockets –enable-zip –with-iodbc=/usr –enable-shared=max

    Done.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed