Re: OCI8 , PHP and APACHE issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the phpinidir directive set in apache so it loads the exact same
php.ini as the cli

Jack

2008/9/1 Evert Lammerts <evert.lammerts@xxxxxxxxx>

> I see that in both cases c:\PHP\php.ini is loaded. Are you sure that
> after trying the command line you didn't cut - paste the file to
> c:\windows? What do apache's and PHP's logs say?
>
> On Mon, Sep 1, 2008 at 1:25 PM, Jack van Zanen <jack@xxxxxxxxxxxx> wrote:
> > Attached is phpinfo() both from the command line and from apache on the
> same
> > machine
> >
> >
> > I have done the exact same setup on my laptop and it works fine from
> apache
> > and cli.
> > I even copied over the httpd.conf and the php.ini file from my laptop as
> all
> > paths and versions were identical.
> >
> > Oracle 10.2.0.4 client
> > apache 2.2
> > php 5.2.6
> >
> > Thanks
> >
> >
> > On 01/09/2008, Evert Lammerts <evert.lammerts@xxxxxxxxx> wrote:
> >>
> >> Can you send your and the output of phpinfo when run from the command
> >> line and when run from the browser?
> >>
> >> On Mon, Sep 1, 2008 at 6:35 AM, Jack van Zanen <jack@xxxxxxxxxxxx>
> 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 configuring this combo can shed
> >> > some
> >> > light on this??
> >> >
> >> >
> >> >
> >> > Brgds
> >> >
> >> >
> >> > Jack
> >> >
> >
> >
> >
> > --
> > J.A. van Zanen
>



-- 
J.A. van Zanen

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux