Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

[email protected] (Fred Silsbee)
Newsgroups php.db
Message-ID <[email protected]>
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 <[email protected]> wrote:

> From: Christopher Jones <[email protected]>
> Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment
> To: [email protected]
> Cc: [email protected]
> 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: [email protected]  Tel: +1 650 506
> 8630
> Twitter:  http://twitter.com/ghrd    Free PHP Book:
> http://tinyurl.com/f8jad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.