You are here: Re: [PHP] connecting to oracle 9i « PHP « IT news, forums, messages
Re: [PHP] connecting to oracle 9i

Posted by "Richard Lynch" on 12/30/05 20:48

First, use <?php phpinfo()?> to determine several things:

Where does PHP think your php.ini file should be?
Move your php.ini file there, and then change it.
Changes to other php.ini files in other places is pointless.
There is a new-fangled Apache directive to tell PHP where to find
php.ini, but it's easier to just move the darn thing.

After you re-start Apache (again) does <?php phpinfo();?> show that
Oracle is available? It will either be listed in that page, or it
ain't there.
Until Oracle is listed as installed, oci_connect() will remain undefined.

Check the 'extensions_directory' in php.ini to be sure it's right.


On Fri, December 30, 2005 12:16 pm, Sue Errico wrote:
> I am running php 5.0
> apache 2.0
> oracle 9i on a windows platform
>
> receiving the following error:
>
> Fatal error: Call to undefined function oci_connect() in C:\Program
> Files\Apache Group\Apache2\htdocs\Sue\testoci.php on line 3
>
> I edited the php.ini
> I uncommenting the extension=php_oci8.dll (removed ;)
> and changed the
> extension_dir = "C:/php/ext"
>
> I stopped and stopped apache and it still get the same error
> can you please help or direct me to someone that can?
> Thanks!
> Happy New Year!
>
>


--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this 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

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