# Flex SDK 3 Compiler problem with php

**URL:** <https://forum.kirupa.com/t/flex-sdk-3-compiler-problem-with-php/277959>\
**Category:** flash\
**Created:** [December 19, 2008, 11:15am UTC](https://forum.kirupa.com/t/flex-sdk-3-compiler-problem-with-php/277959 "2008-12-19T11:15:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shritesh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@shritesh](https://forum.kirupa.com/u/shritesh)\
**Post date:** [December 19, 2008, 11:15am UTC](https://forum.kirupa.com/t/flex-sdk-3-compiler-problem-with-php/277959/1 "2008-12-19T11:15:18Z")

</div>

Dear All,  
Thanks in advance.

I have the following problem  
When i execute following line from my command prompt  
c:\flexsdk3\bin\mxmlc.exe c:\users\222131\Simple01\Simple01\_222131.as -output c:\out.swf

It works fine.,

But when I do the same with  
exec(“c:\flexsdk3\bin\mxmlc.exe c:\users\222131\Simple01\Simple01\_222131.as -output c:\out.swf”) in php it doesnt work.

Can any one help with this.?

Thanks
