C++ compiled OpenCV wont exec by PHP:

Problems with the Linux version of XAMPP, questions, comments, and anything related.

C++ compiled OpenCV wont exec by PHP:

Postby radibg2 » 08. August 2014 11:27

When i exec some file which just returns something with cout or write to a .txt file it works but when i try to exec the OpenCV compiled file it just don't work with no errors. I am doing it by this script:
Code: Select all

In the same folder must appear a filtered.jpg file and $output must return 'dasdas' but $output is empty and there is not appear filtered.jpg. When i execute the file by terminal it works ok. All files have full rights:
Code: Select all
-rwxrwxrwx 1 user user 5567011 юли 31 18:16 5.jpg
-rwxrwxr-x 1 user user   31831 авг  8 11:56 test.comp
-rwxrwxrwx 1 user user     444 авг  8 12:10 test.php

My Linux distribution is Xubuntu 14.04, XAMPP version is 1.8.3-4
Posts: 3
Joined: 15. April 2014 12:08
Operating System: Xubuntu 14.04 | Windows 8.1

Return to XAMPP for Linux

Who is online

Users browsing this forum: ecacarva and 6 guests