473,699 Members | 2,086 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12890
On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer" <lo**********@y ahoo.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.andyhsoftwa re.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.c om...
On Sat, 18 Dec 2004 19:13:46 GMT, "Wilson McGramer" <lo**********@y ahoo.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.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

Jul 17 '05 #3
On Sat, 18 Dec 2004 21:22:28 GMT, "Wilson McGramer" <lo**********@y ahoo.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.andyhsoftwa re.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
1412
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 'make altinstall' commands. When I checked the .py sources (in Lib folder) thru grep for 'ipv6', I see the same references I'd see, if I ran the configure command without the --enable-ipv6
2
282
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 manually configure FPSE. The instructions are clear To manually configure FrontPage Server Extension on Windows 2000 1. On the Start menu, choose Settings, and then Control
4
1362
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 Framework 1.1 and IE Web Controls. If somebody have an idea please reply this message. Thanks.
2
8567
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 seem to be '/c' but that does not seem to work for the screensaver I have written. I've tested my code and if '/c' is the first argument then the options dialog is launched but Windows XP does not seem to be supplying the '/c' argument when I...
16
27914
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 own LAN, the driver tells me it cannot make the connection. Here are the ODBC driver connection parms: Data Source Name: (free field - name my "my linux box" will do nicely) Host/Server Name (or IP) - something like MSQLUserName@ServerName.net...
1
4854
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 which has a one combobox, one datagrid and one update button. I want make select like this Select * from Banks where BankName= combobox.text but if i write Select * from Banks where BankName='CITIBANK' query is working. But i can not take...
7
2388
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 does what I need. I've even tried writing a port forwarder in Java and found problems that nobody seems to have the answer to in forums. I need to make it work essentially the same on both Windows and Linux. There is one program, in C, that...
7
7847
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 details. You need to source your DB2 environment before running PHP configure: # . $IBM_DB2/db2profile
0
1295
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 --with-apxs2=/srv/apache-2058/apache/bin/apxs --with-ibm-db2=/opt/IBM/db2/V8.1 --with-pdo-odbc=ibm-db2,/home/db2inst1/sqllib
1
3592
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 --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local and I get this error:
0
8697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8621
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9184
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9042
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8891
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7759
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5878
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3061
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.