Open Solarbotics opened 9 years ago
Ok, I had to also change the path in the "/etc/osid/system/write.sh". Plus, I broke the file sizer for the image size. Go figure...
Darn. I get stuck at the popup window that says "Connecting to image write sub-system... "
You might want to look at or use the install script I wrote. It is in my fork. https://github.com/snemetz/osid/blob/master/arch_osid_setup.sh
It's also possible to slightly widen the open_basedir restriction in /etc/php5/fpm/php.ini
to be :/etc/osid
and it will be able to read the image files in the original location.
NOT a PHP coder by any stretch, so my answer is definitely a kludge.
After getting the ArchLinux/nginx running, I got the script to work but NOT find my img file. My brute force answer was to move the directory containing the images ("/etc/osid//imgroot") to a subdir of the http folder ("/etc/osid/www/public_html/imgroot")
I then changed the code in index.php as follows: // $ImageFiles = scandir('/etc/osid/imgroot'); $ImageFiles = scandir($_SERVER['DOCUMENT_ROOT'] . '/imgroot');
Looking fwd to using it now!