[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    Re: [PHP-INSTALL] PHP, Apache and OCI8 issue
From:       "Tommy Peterson" <tpeterson () americaschoice ! org>
Date:       2008-09-01 17:21:09
Message-ID: fc.000f464b019df84b3b9aca002524c26a.19df85c () ncee ! org
[Download RAW message or body]

If you turn on the startup errors I am betting that you will see that you
do not have that dll. I have had many issues with the latest PHP build. It
is a mess from what I can tell. And one of the errors that I initially got
what that the Oracle dlls along with a few others that I cannot recall are
missing. Since I use Ms SQL Server and/or MySQL I didn't worry about it. I
just "turned off" the Oracle ext in the php.ini file. I suggest you turn
on the start up errors inside your php.ini file to verify that you have
the .dll. ONe person said that you could get the non-executable PHP build
and all the dlls were in that file. YOu just copy the missing ones to your
existing PHP setup. However, I found that even that build didn't include
some of the missing dlls. But it is a start . . . a start at narrowing
down you issue. If it is missing maybe the PHP folks or Oracle folks would
have the missing dll, or an older PHP build????

"Jack van Zanen" <php@vanzanen.com> on Sunday, August 31,
2008 at 10:39 PM  wrote:


>Hi List,
> 
> 
>I have installed Oracle, PHP and apache on my windows machine and have
>the following issue
> 
>If I run phpinfo() from the command line it shows OCI8 as enabled and I
>can connect to oracle databases.
> 
>When I copy my php.ini to my windows directory (from my php directory)
>and start apache and than run phpinfo() from a php page in my browser it
>does not show me that OCI8 is enabled and also does not allow me to
>connect to databases. It does show it is using the right php.ini from my
>windows directory
> 
>I'm sure this must be an environment setting somewhere but I  can't work
>this out.
> 
>Anybody with some more experience in installing this combo can shed some
>light on this??
> 
> 
> 
>Brgds
>  
> 
> 
>Jack


____________________________

Tommy Peterson,

NCEE/AC/NISL Web Developer/DBA

555 13th St, NW

Washington, DC 20004

Telephone:

(o) 202-783-3668 X2146

(c) 703-608-6898




[Attachment #3 (text/html)]

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div><font face="Geneva" size="+1" color="#000000" \
style="font-family:Geneva;font-size:14pt;color:#000000;">If you turn on the startup \
errors I am betting that you will see that you do not have that dll. I have had many \
issues with the latest PHP build. It is a mess from what I can tell. And one of the \
errors that I initially got what that the Oracle dlls along with a few others that I \
cannot recall are missing. Since I use Ms SQL Server and/or MySQL I didn't worry \
about it. I just &quot;turned off&quot; the Oracle ext in the php.ini file. I suggest \
you turn on the start up errors inside your php.ini file to verify that you have the \
.dll. ONe person said that you could get the non-executable PHP build and all the \
dlls were in that file. YOu just copy the missing ones to your existing PHP setup. \
However, I found that even that build didn't include some of the missing dlls. But it \
is a start . . . a start at narrowing down you issue. If it is missing maybe the PHP \
folks or Oracle folks would have the missing dll, or an older PHP build????<br /> <br \
/> &quot;Jack van Zanen&quot; &lt;<a \
href="mailto:php@vanzanen.com">php@vanzanen.com</a>&gt; on Sunday, August 31,<br /> \
2008 at 10:39 PM &nbsp;wrote:<br /> <br />
<br />
&gt;Hi List,<br />
&gt; <br />
&gt; <br />
&gt;I have installed Oracle, PHP and apache on my windows machine and have<br />
&gt;the following issue<br />
&gt; <br />
&gt;If I run phpinfo() from the command line it shows OCI8 as enabled and I<br />
&gt;can connect to oracle databases.<br />
&gt; <br />
&gt;When I copy my php.ini to my windows directory (from my php directory)<br />
&gt;and start apache and than run phpinfo() from a php page in my browser it<br />
&gt;does not show me that OCI8 is enabled and also does not allow me to<br />
&gt;connect to databases. It does show it is using the right php.ini from my<br />
&gt;windows directory<br />
&gt; <br />
&gt;I'm sure this must be an environment setting somewhere but I &nbsp;can't work<br \
/> &gt;this out.<br />
&gt; <br />
&gt;Anybody with some more experience in installing this combo can shed some<br />
&gt;light on this??<br />
&gt; <br />
&gt; <br />
&gt; <br />
&gt;Brgds<br />
&gt; &nbsp;<br />
&gt; <br />
&gt; <br />
&gt;Jack<br />
<br />
<br />
____________________________<br />
<br />
Tommy Peterson,<br />
<br />
NCEE/AC/NISL Web Developer/DBA<br />
<br />
555 13th St, NW<br />
<br />
Washington, DC 20004<br />
<br />
Telephone:<br />
<br />
(o) 202-783-3668 X2146<br />
<br />
(c) 703-608-6898<br />
<br />
<br />
</font></div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic