Hi!
I've started learning about Krpano tools working on server. My first simple task is to process a pano jpg into tiles on server using PHP.
I've spent the whole day yesterday and unfortunately can't get it working properly. Can someone please help me and give some advice?
1. Our server is Linux cs31307.selectel 4.4.0-92-generic #115-Ubuntu SMP Thu
Aug 10 09:04:33 UTC 2017 x86_64
Do I need to run some installation of krpano tools on server or just upload Linux Krpano tools to some directory?
2. Yesterday I tried the following code in PHP:
exec("/var/www/omuzee/data/www/vr.omuzee.ru/test/krpano/krpanotools makepano -config=normal.config /var/www/omuzee/data/www/vr.omuzee.ru/test/4132.jpg", $output, $return_var); echo "OUTPUT "; print_r($output);
Output returns an empty array and return_var gives 127 (I found out that it means an error).
I'm a bit confused about the paths in the code above...
3. Also I'm confused about 'access rights' to the folder where the tiles will be created. I've searched the forum already on this topic and understood (vaguely) that 'home' folder or 'krpanotools' folder must be writable.
This task is all new for me, and I'm not a proger, but need to learn and try&error, so any advice or help will be much appreciated