Hi,
I installed PHP 5.0 on my linux box.
In php.ini, i added this: extension=odbc. so
But i still get the error:"Call to undefined function odbc_connect()" when
trying to run this command:
$connect = odbc_connect ('DRIVER={Micro soft Access Driver
(*.mdb)};DBQ=/mnt/pen1800d/access\newres.m db', '', '');
In windows, no error.
I thought odbc was integrated in php.
What do i have to install then and what about php.ini?
Thanks 3 24909
Bill wrote: Hi,
I installed PHP 5.0 on my linux box. In php.ini, i added this: extension=odbc. so But i still get the error:"Call to undefined function odbc_connect()" when trying to run this command: $connect = odbc_connect ('DRIVER={Micro soft Access Driver (*.mdb)};DBQ=/mnt/pen1800d/access\newres.m db', '', '');
In windows, no error. I thought odbc was integrated in php. What do i have to install then and what about php.ini?
The PHP has been compiled without the odbc support or the odbc part has been
split into another package which you need to install.
//Aho
Thanks for replying.
I downloaded the file PHP-5.1.2 (tar.gz).
How can i know whether odbc module is included?
Can you tell me the option in order to compile php with odbc? (something
like --odbc ?)?
Thanks
"J.O. Aho" <us**@example.n et> schreef in bericht
news:46******** ****@individual .net... Bill wrote: Hi,
I installed PHP 5.0 on my linux box. In php.ini, i added this: extension=odbc. so But i still get the error:"Call to undefined function odbc_connect()" when trying to run this command: $connect = odbc_connect ('DRIVER={Micro soft Access Driver (*.mdb)};DBQ=/mnt/pen1800d/access\newres.m db', '', '');
In windows, no error. I thought odbc was integrated in php. What do i have to install then and what about php.ini?
The PHP has been compiled without the odbc support or the odbc part has been split into another package which you need to install.
//Aho
root@mich work/php-5.1.2# ./configure --help |g odbc
--with-custom-odbc[=DIR]
have some odbc.h in your include dirs.
CUSTOM_ODBC_LIB S="-ldblib -lodbc"
--with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base
--with-pdo-odbc=flavour,di r
--with-pdo-odbc=unixODBC
--with-pdo-odbc=generic,di r,libname,ldfla gs,cflags
named pdo_odbc.so This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Randell D. |
last post by:
Folks,
I feel like pulling my hair out - I tried unsuccessfully over the past few
days to install ImagMagick but because of version conflicts and missing
libraries I had to give up. I originally choose ImageMagick because I've
heard so much about it.
I then decided to go with the inbuilt GD tools since I'm using PHP 4.3.3
that I compiled with --with-gd. I can use some of the image functions in
PHP so why is this one undefined? What...
|
by: obi wan kenobi |
last post by:
i've used the Amazon PHP api for several months now to pull amazon data into
my affiliate site - but recently i'm starting to get "call to undefined
function" errors
" Fatal error: Call to undefined function: asinsearchrequest() in"
What's strange is that problem is intermittent - and there is no way to
reproduce it exactly - it just appears to come and go. I'm using nusoap as
well.
|
by: xcomm |
last post by:
I tried to create some images with php and gd and get always
Call to undefined function imagejpeg()
or
Call to undefined function imagepng()
PHP was build with --with-gd --with-zlib but I assume I will need more?
phpinfo() says:
gd
|
by: gc |
last post by:
I'm a PHP and MySQL newbie. I have a feeling a lot of you may have seen this
before. I'm teaching myself PHP/MySQL and trying to setup a guestbook. I'm
running latest versions of Apache, PHP and MySql on WIN 2000. PHP is
installed from the zip file. When serving php docs (code snippets below) I
get the messages:
"Fatal error: Call to undefined function mysql_connect() "
"Fatal error: Call to undefined function mysql_pconnect() "
|
by: annie |
last post by:
Can anyone point me in the right direction here?
I've got this little image script
<?php
$im = ImageCreate(200,200);
$white = ImageColorAllocate($im,oxFF,oxFF,oxFF);
$black = ImageColorAllocate($im,ox00,ox00,ox00);
ImageFilledRectangle($im,50,50,150,150,$black);
header("content-type: image/png");
| |
by: franscescomoi |
last post by:
Hi.
On PHP 4.3.10 on Linux I try to:
------
$im = imagecreate(400, 30);
$black = imagecolorallocate($im, 0, 0, 0);
imagettftext($image, 20, -3, 10, 20, $black, 'Arial.ttf', 'Test');
-------
But I get this error message:
|
by: muelli75 |
last post by:
Hi!
Im getting insane by solving a problem ....
I try to define a function which uses a code-snippet from another file.
My base are the codes from the great book "WebDataBase-Book by H.
Williams & D. Lane".
So I try to use
|
by: drewmania001 |
last post by:
i've read various info on the web including the following
http://php.mirrors.ilisys.com.au/manual/en/ref.mysqli.php
mySQL Version 4.1.16
PHP Version 5.1.2
with Zend Engine v2.1.0
OS Windows NT SERVER(2003) 5.2 build 3790
see http://drew.bounceme.net/phpinfo.php for more details
|
by: Cruella DeVille |
last post by:
I'm writing a class to handle reading/writing from/to files like this
(shortened)
lass FileIO{
private $filename;
private $mode;
private $filePointer;
private $dictionary;
public function __construct($filename = null, $mode = 'r+'){
|
by: java |
last post by:
Hey there,
I just removed an elderly PHP4-Installation from my Windows-Box and
installed PHP 5.2.1. I used the PHP4-Module as local batchfile-
interpreter by
E:\ersDHCP>php ./extractLog.php
which was perfectly alright and worked well. But now PHP5 fails to run
the same script without any modification!
|
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...
| |
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |