Problem with ming lib?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with ming lib?

Postby iXtc » 19. November 2009 11:52

Hi all

I have a problem with using ming library
If I get it I must compile php files to get swf file

I type in cmd (maybe here is a problem): D:\frameworki\xampp-win32-1.7.2\xampp\php>php square.php
and I have in console:

PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with build ID=API20090626,NTS,VC6
PHP compiled with build ID=API20090626,TS,VC6
These options need to match
in Unknown on line 0
...
something like this for all libs

and in the end < ?Ming_setScale(20.00000000);
ming_useswfversion(6);
$movie=new SWFMovie();
$movie->setDimension(550,400);
$movie->setBackground(0xcc,0xcc,0xcc);
$movie->setRate(12);
$squareshape=new SWFShape();
$squareshape->setRightFill(255,0,0);
$squareshape->drawLine(100,0);
$squareshape->drawLine(0,100);
$squareshape->drawLine(-100,0);
$squareshape->drawLine(0,-100);
$squaresymbol=$movie->add($squareshape);
$squaresymbol->moveTo(100,100);
$movie->save("square.swf");
?>

this is a square.php file
one of ming examples
ming is enabled in php.ini too

how to fix this?

OS: WinXP
Xampp: 1.7.2
php: 5.3.0

Regards
---------------
xampp reinstalation fixed the problem
work well
iXtc
 
Posts: 1
Joined: 19. November 2009 11:13

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests