oci8 does not work from cPanel mail pipe
Hi Folks,
I have Oracle 11.2 XE and oci8 installed via PECL,
it works just fine from Apache, from Command line, from cron etc. But it does not work in script I use as a "Pipe to a Program" for default email.
All ways are using /usr/local/bin/php and all of them see /usr/local/lib/php.ini
I created this script for tests:
[PHP]#!/usr/local/bin/php
ob_start();
phpinfo();
$phpinfo = ob_get_contents();
ob_end_clean();
mail ('xxxxx@xxxxxxxxx.xxx','mail', $phpinfo);
?>[/PHP]
And when I run this script in Command line - I can see
oci8
in result, when it goes from cPanel pipe - no. I tried putenv - no difference Ideas? Thank you for help!Please sign in to leave a comment.
Comments
0 comments