469,271 Members | 997 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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.
Jul 17 '05 #1
4 12736
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

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
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
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.

Similar topics

1 post views Thread by Venkat B | last post: by
2 posts views Thread by Jerry Sacks | last post: by
4 posts views Thread by Stéphane | last post: by
7 posts views Thread by Brent Halsey | last post: by
reply views Thread by Brent Halsey | last post: by
1 post views Thread by Jim McCullars | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.