Configure Command vs php.ini

This is a discussion on Configure Command vs php.ini within the PHP Language forums, part of the PHP Programming Forums category; If the php install is configured with --'without-oci8', is there anyway to override that using php.ini (eg, 'extension=...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-18-2004
Wilson McGramer
 
Posts: n/a
Default Configure Command vs php.ini


If the php install is configured with --'without-oci8', is there anyway to
override that using php.ini (eg, 'extension=php_oci8.dll')

thanks in advance.


Reply With Quote
  #2 (permalink)  
Old 12-18-2004
Andy Hassall
 
Posts: n/a
Default Re: Configure Command vs php.ini

On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer" <loargy_13032@yahoo.com>
wrote:

>If the php install is configured with --'without-oci8', is there anyway to
>override that using php.ini (eg, 'extension=php_oci8.dll')


Yes, basically like you suggest. If you're on Unix you'd have to build the
oci8 extension as a shared library first, though; .dll is a Windows shared
library extension.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Reply With Quote
  #3 (permalink)  
Old 12-18-2004
Wilson McGramer
 
Posts: n/a
Default Re: Configure Command vs php.ini


Thanks, yeah, Im on *nix. Do you know if theres a way to just build the oci8
extension by itself?

--


you know when you think you know something
and then you realize you know nothing

"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:h639s0pcl0s8nbqhlsmmo6jqv8tcoet99k@4ax.com...
> On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer"

<loargy_13032@yahoo.com>
> wrote:
>
> >If the php install is configured with --'without-oci8', is there anyway

to
> >override that using php.ini (eg, 'extension=php_oci8.dll')

>
> Yes, basically like you suggest. If you're on Unix you'd have to build

the
> oci8 extension as a shared library first, though; .dll is a Windows shared
> library extension.
>
> --
> Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool



Reply With Quote
  #4 (permalink)  
Old 12-18-2004
Andy Hassall
 
Posts: n/a
Default Re: Configure Command vs php.ini

On Sat, 18 Dec 2004 21:22:28 GMT, "Wilson McGramer" <loargy_13032@yahoo.com>
wrote:

>Thanks, yeah, Im on *nix. Do you know if theres a way to just build the oci8
>extension by itself?


I'm not sure - I tend to compile oci8 directly into PHP on *nix.

This message below from one of the creators of PHP is probably an indication
that no, you can't really do it separately:

http://www.phpbuilder.com/lists/php4...99912/1386.php

Extensions depend on most of PHP, so you tend to have to compile everything.
It's probably possible to compile an extension separately if you still have the
original build areas hanging around.

Perhaps things have moved on since Rasmus posted this message, but I haven't
ever tried building a PHP extension in a different session to building PHP
itself.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Reply With Quote
  #5 (permalink)  
Old 12-19-2004
Tommy Gildseth
 
Posts: n/a
Default Re: Configure Command vs php.ini

Wilson McGramer wrote:

>
> Thanks, yeah, Im on *nix. Do you know if theres a way to just build the
> oci8 extension by itself?
>


It is possible to build a lot of the modules separatly.
Depeding on your flavour of *nix, there might even be a precompiled module
available, which you can install.
In order to compile modules separately, you need the php development tools,
most notably, the phpize program.
Download the source for the php version matching your installed version,
unpack it, and cd to the ext/oci8 subdirectory
Run phpize, then the usual .configure and make

--
Tommy

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0