By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,991 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,991 IT Pros & Developers. It's quick & easy.

Configure Command vs php.ini

P: n/a

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.
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer" <lo**********@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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

P: n/a

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" <an**@andyh.co.uk> wrote in message
news:h6********************************@4ax.com...
On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer" <lo**********@yahoo.com> wrote:
If the php install is configured with --'without-oci8', is there anyway tooverride 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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

Jul 17 '05 #3

P: n/a
On Sat, 18 Dec 2004 21:22:28 GMT, "Wilson McGramer" <lo**********@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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #4

P: n/a
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

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.