Ming installation howto

Instructions:

Unpack the archive
cd ming-<version>
make
make install
This will build libming.so and install it into /usr/lib/, and copy ming.h into /usr/include/. Edit the PREFIX= line in the Makefile to change the installation directory.

There are a number of ways you might want to use Ming:

  • built into php (unix)
    mkdir <phpdir>/ext/ming
    cp php_ext/* <phpdir>/ext/ming
    cd <phpdir>
    ./buildconf
    ./configure --with-ming <other config options>
    build and install php as usual,
    restart web server if necessary
  • as a php module (unix)
    download php_ming.so.gz
    uncompress it and copy it to your php modules directory
    (you can find your php module directory by running php-config --extension-dir)
    Now either just add 'extension=php_ming.so' to your php.ini file, or put 'dl('php_ming.so');' at the head of all of your Ming scripts.
  • build your own php module (unix)
    grab the ming source
    run 'make static' in the ming toplevel directory
    cd to php_ext
    run 'make php_ming.so'
  • as a php module (windows)
    download the php distribution from www.php4win.de.
    Follow the instructions contained therein.
  • as a Python or Ruby module
    Check the makefiles in the py_ext and rb_ext directories. I built the Python module without a hitch just running 'make', but I couldn't test the Ruby version.
    back to main


    All content Copyright (C) 2000-2001 Opaque Industries except where noted otherwise.