You are not logged in.

abozdemir

Beginner

  • "abozdemir" started this thread

Posts: 5

Location: Turkey Istanbul

  • Send private message

1

Monday, March 30th 2015, 10:58am

php exec linux command error

This command is running.

exec("/home/user/tools/krpanotools makepano -config=multires.config /home/user/public_html/pano/".$new_name,$o,$r);

This command does not work

exec("/home/user/tools/krpanotools makepano -config=/home/user/tools/multires.config /home/user/public_html/pano/".$new_name,$o,$r);


2. How do I run the line.

I need to read the config file to another path.

This post has been edited 1 times, last edit by "abozdemir" (Mar 30th 2015, 2:01pm)


2

Monday, March 30th 2015, 11:05am

What error do you get?

abozdemir

Beginner

  • "abozdemir" started this thread

Posts: 5

Location: Turkey Istanbul

  • Send private message

3

Monday, March 30th 2015, 2:00pm


What error do you get?
path problem
I did like the following. worked. exec("cd /home/user/tools/; /home/user/tools/krpanotools makepano -config=/home/user/tools/multires.config /home/user/public_html/pano/".$new_name,$o,$r);