php-install Digest 11 Mar 2003 13:07:24 -0000 Issue 1285

Topics (messages 10323 through 10325):

problem accessing MS Access DB
        10323 by: Beverly Steiner

problem php4.0.6 openssl and curl
        10324 by: Peter B

cURL & PHP compile error
        10325 by: Bryan Brannigan

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

I am having problems accessing an MS Access database through PHP and thought
maybe I missed something in the installation process.  I set up a System DSN
for the database and went back and forth with a member of the PHP database
mailing list and he can't figure out why it isn't working.

I am running Windows XP, PHP 4.3.1, and Apache 1.3.27.  After installing PHP
I copied php4ts.dll and php4apache.dll to my Windows/system32 folder.  I
copied php-recommended.ini to the Windows folder, renamed it to php.ini and
edited the doc_roots line.

Here's my code:

$connection = odbc_connect("mctadb", "username", "") || die("cannot open
database");

$sql = "SELECT * FROM Meeting";

$result = odbc_exec($connection, $sql) || die("cannot prepare result");

I get the following error message in my browser:

Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in
c:\program files\apache group\apache\htdocs\test2.php on line 30
cannot prepare result


What am I doing wrong?

----------------------
Beverly Steiner
[EMAIL PROTECTED]



--- End Message ---
--- Begin Message ---
Hello,

We have a problem regarding PHP 4.0.6, Curl and openssl.

Curl works when posting to http servers. but when we post to a https server
we get the following error message

SSL: couldn't create a context!

Can anyone tell me where we go wrong. We can not update to a higher version
of php because then we have to shange a lot of website (cookie calls and
other things).

Thanx

Peter




--- End Message ---
--- Begin Message ---
 Trying to setup PHP with cURL support... I run this configure command:
 
 ./configure --with-mysql --with-apxs --with-openssl=/usr/local/ssl
 --with-curl --with-mcrypt --enable-sockets
 
 and receive this error:
 
 /usr/local/lib/libcurl.so: undefined reference to `UI_OpenSSL'
 
 Help!!


--- End Message ---

Reply via email to