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@xxxxxxxxxx> wrote: > From: Christopher Jones <christopher.jones@xxxxxxxxxx> > Subject: Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment > To: fredsilsbee@xxxxxxxxx > Cc: php-db@xxxxxxxxxxxxx > 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@xxxxxxxxxx Tel: +1 650 506 > 8630 > Twitter: http://twitter.com/ghrd Free PHP Book: > http://tinyurl.com/f8jad -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php