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=...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |