dctengineer
asked on
php exec under IIS?
Hello,
When I try to run file 1.php with code
<?
exec("lame.exe -m m -b 16 --resample 22.050 1.mp3 2.mp3");
?>
On my local machine (my machine use apache as web server) it works fine, and create second file.
When I try to run same code on server which running IIS 6 (on windows 2003 platform) it doesn't work.
Does anyone know how to solve this problem?
When I try to run file 1.php with code
<?
exec("lame.exe -m m -b 16 --resample 22.050 1.mp3 2.mp3");
?>
On my local machine (my machine use apache as web server) it works fine, and create second file.
When I try to run same code on server which running IIS 6 (on windows 2003 platform) it doesn't work.
Does anyone know how to solve this problem?
There is a better tutorial to show you how to run active server pages here.
http://msdn.microsoft.com/en-us/library/ms972337.aspx
http://msdn.microsoft.com/en-us/library/ms972337.aspx
ASKER
I have problem with executing .exe files from PHP, not ASP.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please go to your web properties, and then add 1.asp to be allowed to run. If this doesn't work for you...
Try allowind active server pages to run. It is a setting in the IIS menu:
To enable Active Server Pages you will do the following:
1. Go into Internet Information Services
2. Select Web Service Extensions
3. Select "allow" for Active Server Pages