I have a php5 script that runs well by manually. It connects a sybase db, makes same calculations and insert them in a sybase table. But, when I try to work it in crontab, I always getting this error;
"/usr/bin/php: error while loading shared libraries: libsybunic.so: cannot open shared object file: No such file or directory"
I've tried to put environment variables in the beginning of php code but didn't work.
Beginning of code is like this;
$conn = sybase_connect('EBIMFS', 'radiousr', 'xxx');