Re: OCI8 , PHP and APACHE issue
| From: | Evert Lammerts | Date: | Mon, 01 Sep 2008 11:47:31 +0000 |
| Subject: | Re: OCI8 , PHP and APACHE issue | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45296@lists.php.net to get a copy of this message | ||
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@vanzanen.com> 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@gmail.com> 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@vanzanen.com> 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