Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment
| From: | Fred Silsbee | Date: | Wed, 19 Nov 2008 14:53:49 +0000 |
| Subject: | Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45663@lists.php.net to get a copy of this message | ||
here is where the error occurs:oci8.c
/* use NLS_LANG if no or invalid charset specified */
if (!charsetid) {
size_t rsize = 0;
sword result;
// here
PHP_OCI_CALL_RETURN(result, OCINlsEnvironmentVariableGet, (&charsetid_nls_lang, 0,
OCI_NLS_CHARSET_ID, 0, &rsize));
if (result != OCI_SUCCESS) {
charsetid_nls_lang = 0;
}
smart_str_append_unsigned_ex(&hashed_details, charsetid_nls_lang, 0);
}
doesn't anybody know how this stuff works!
I connected to MySQL the very FIRST try! I didn't have to search their "C" code
--- On Wed, 11/19/08, Christopher Jones <christopher.jones@oracle.com> wrote:
> From: Christopher Jones <christopher.jones@oracle.com>
> Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment
> To: fredsilsbee@yahoo.com
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 5:27 AM
> Fred Silsbee wrote:
> > there is a file /etc/httpd/conf/httpd.conf
> >
> > I tried putting the ORACLE_HOME in this file but it
> failed
>
> What failed and how?
>
> How was it set?
>
> [phpinfo output of]
> >>> Compile-time ORACLE_HOME no value
>
> The lack of a value here is an artifact aka buglet of
> installing from
> the PECL package. I'll add it to the todo list of
> issues to look at.
>
> Chris
>
> -- Email: christopher.jones@oracle.com Tel: +1 650 506
> 8630
> Twitter: http://twitter.com/ghrd Free PHP Book:
> http://tinyurl.com/f8jad