Installing/Configuring
Содержание
Требования
To use Ming with PHP, you first need to build and install the Ming library. Source code and installation instructions are available at the Ming home page: » http://ming.sourceforge.net/ along with examples, a small tutorial, and the latest news.
Download the ming archive. Unpack the archive. Go in the Ming directory. 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.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Ming Функции
- The SWFAction class
- The SWFBitmap class
- The SWFButton class
- The SWFDisplayItem class
- The SWFFill class
- The SWFFont class
- The SWFFontChar class
- The SWFGradient class
- The SWFMorph class
- The SWFMovie class
- The SWFPrebuiltClip class
- The SWFShape class
- The SWFSound class
- The SWFSoundInstance class
- The SWFSprite class
- The SWFText class
- The SWFTextField class
- The SWFVideoStream class
Коментарии
The installation notes for ming 0.3.0 say:
"Feb 2006: This module is for PHP4, not PHP5. Use the ming module that
comes with PHP5 if you are running PHP5."
This is a little confusing as the installation notes here don't explain how to do this with php5.
:-S
Installation on Ubuntu is quite simple, tested with version 5.2.10 on Apache2 / Ubuntu 6.4:
Install with (sudo) apt-get install php5-ming
Restart apache
done!
You can check the installation with phpinfo(), it should show a chapter called "ming".