473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 12874
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Venkat B | last post by:
Hi all, While building the latest 2.4.1 version for Linux/RH9, I wanted to enable IPV6 support (sockets). So, I ran the configure command ./configure --enable-ipv6 Then I ran the 'make' and...
2
by: Jerry Sacks | last post by:
I Purchased Visual Studio .Net Enterprise Architect I Have Installed it on my Window 2000 computer with a FAT32 file system. Service Pack 4 installed. However in installing IIS I have been unable...
4
by: Stéphane | last post by:
Hi, Did somebody knows how to configure ASP.NET in XP PRO with service pack installed? The problem that I have actually is I cannot display any web controls in my web page. I have installed .NET...
2
by: DanielB | last post by:
Does anyone know what the command line argumentto launch a screensaver's options/configuration dialog is on Windows XP Pro? From most of the example source code I can find on the web, it would...
16
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my...
1
by: Herman P via DotNetMonster.com | last post by:
Dear friends; I am trying to cofigure Oledbdatadabter with wizard. And i am using ACCESS database.I want to use parameter in OledbDataadapter Select Command Property window. I have simple form...
7
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that...
7
by: Brent Halsey | last post by:
Hi All, I am trying to configure php with IBM-DB2 and I get the following error: checking for IBM DB2 support... no configure: error: build test failed. Please check the config.log for...
0
by: Brent Halsey | last post by:
Hi All, I am having problems compiling php with the IBM-DB2 extension. The command I use to configure is # ./configure --with-mysql=/srv/mysql/mysql-standard-5.0.24a-linux-i686-glibc23...
1
by: Jim McCullars | last post by:
Greetings: Getting configure errors trying to build PHP 5.2.5 under Solaris 9. The configure command I use is this: ../configure --with-mysql --with-gd --with-jpeg-dir=/usr/local...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.