Reply to Re: OCI8 / Oracle issues with php 5.x

Your name:

Reply:


Posted by Andy Hassall on 01/23/06 21:48

On Fri, 20 Jan 2006 23:26:01 +0100, YeCkeL <yeck42o@kc.rr.com> wrote:

>Warning: oci_new_connect() [function.oci-new-connect]: OCIEnvNlsCreate()
>failed. There is something wrong with your system - please check that
>ORACLE_HOME is set and points to the right directory in
>/wwwroot/htdocs/test.php on line 8
>
>I am having this dump on my recent suse 10/oracle 10.2/apache
>2.2.0/php5.1.2. Any ideas i pritty much used a uber basic.
>
>apache cfg line
>$ ./configure --prefix=/wwwroot --enable-so
>
>php cfg line
>'./configure' '--prefix=/wwwroot/php' '--with-apxs2=/wwwroot/bin/apxs'
>'--with-config-file-path=/wwwroot/php'
>'--with-oci8=/opt/oracle/product/10gR2' '--with-curl=/usr/local/lib'
>'--with-mcrypt' '--with-xmlrpc'
>
>Any one see were i fuxed up.

Just to rule out the easy solution - what's your permissions on the Oracle
home? I've noticed that a fresh install of 10g locks down the permissions
fairly tightly, so your typical Apache user won't be able to load the libraries
- resulting in this (not very descriptive) error.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация