Closed

ImageMagick Server 2003, php exec(), permission problem

Information about the server: Server 2003, Plesk, php 5.2.5, php safe_mode off, iis6.

I'm trying to get this to work and would really appreciate some help. PHP is working fine for me except I cannot get exec() to work for imagemagick.

I installed ImageMagick at: "c:\ImageMagick", and added read+execute permissions to all IUSER_XXX on c:/windows/system32/[url removed, login to view], but it's still not working.

When I run follow test script:

<?

function alist ($array) { //This function prints a text array as an html list.

$alist = "<ul>";

for ($i = 0; $i < sizeof($array); $i++) {

$alist .= "<li>$array[$i]";

}

$alist .= "</ul>";

return $alist;

}

exec("c:/ImageMagick/convert -version", $out, $rcode); //Try to get ImageMagick "convert" program version number.

echo "Version return code is $rcode <br>"; //Print the return code: 0 if OK, nonzero if error.

echo alist($out); //Print the output of "convert -version"

?>

I get: "Version return code is 1" which should be 0. (1 indicates error)

Skills: IIS, PHP, Windows Desktop

See more: plesk windows exec permissions problem, test imagemagick php, php is, li.be, li-be, help php, imagemagick server 2003 php exec permission problem, server code, php 5, windows server 2003, server plesk is, server 2003, prints, convert exe, program test php, php script execute, php text array, permissions php, output php, html exe, exe html, convert imagemagick php, exec php windows, php permission, php print error

About the Employer:
( 8 reviews ) Bby, Canada

Project ID: #581916

16 freelancers are bidding on average $250 for this job

CoVaLiDiTy

can help you. tnx.

$250 USD in 0 days
(241 Reviews)
6.8
fuzzoid

I can help you

$250 USD in 0 days
(75 Reviews)
5.8
tech717

Let's start...!!

$250 USD in 0 days
(153 Reviews)
5.8
innovese

Hello, I can fix it for you just now. Let's start the work. Thanks

$250 USD in 0 days
(34 Reviews)
5.5
crajeshbe

Hi Good day, Windows server Admin Bid. Expert in these type of projects. Regards [url removed, login to view] B.E

$250 USD in 0 days
(41 Reviews)
5.4
richammond

lets start!! Check reviews

$250 USD in 0 days
(54 Reviews)
5.3
HeoQue

kindly check PM

$250 USD in 2 days
(8 Reviews)
4.7
gr8Ideas

Hi, Let's start.

$250 USD in 0 days
(7 Reviews)
3.8
blairits

Hello, I can help you with this problem.

$250 USD in 1 day
(8 Reviews)
3.6
nickProfessional

I would like to help.. :-) Nick

$250 USD in 1 day
(5 Reviews)
3.6
VIServices

Greetings! We, at V I Services, have been delivering Remote IT infrastructure Management (RIM) Services successfully to clients across the globe. Our experienced Windows and Linux Support team members with the su More

$250 USD in 3 days
(6 Reviews)
4.1
NoomexSolutions

Hi. See PM. MCP MCTS

$250 USD in 1 day
(8 Reviews)
3.3
Samvincent

Hi,I can do this for you on an immediate basis.Thanks.

$250 USD in 0 days
(0 Reviews)
0.0
chaosprophet

Hi, Please refer PMB for details. Regards, chaosprophet

$250 USD in 1 day
(0 Reviews)
2.5
payong

I am in Cameroon and I am specialized in database ,development php,java and other. I have all the capacity to finish the project at the convenient time because iam in my domain .just be patient and you will see. tha More

$250 USD in 20 days
(2 Reviews)
0.0
globald

hi, please check pmb Regards Deepak

$250 USD in 1 day
(0 Reviews)
0.0
andrewboisvert05

I have installed many scripts for imageconversion sites and imagehosting sites. many hav to deal with imagemagick problems :)

$250 USD in 1 day
(0 Reviews)
0.0