| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:reply-to:reply-to:to:message-id | |
| :subject:mime-version:content-type:content-transfer-encoding | |
| :references; q=dns; s=default; b=qk2//UzBita8WqtTPgghITxbEica5qi | |
| KLfw7MGEV6HZ0IDOW72+v2NZeyKzlOaGYyDIDv9ibLAoYCiXHYI7hkrnc1y4J0ok | |
| hORhAgNG0Nb5SqHn9+QquqEJb99EYudJ+XN31a3JFmzGJMs4JDuvTi2CHAQ3ipPA | |
| bJ9ISZFM8pkw= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:reply-to:reply-to:to:message-id | |
| :subject:mime-version:content-type:content-transfer-encoding | |
| :references; s=default; bh=9HXBEdIJGTTuWVn9NOel1ngXZrI=; b=Jvubx | |
| CebnliByj096xLMiCnYPIY6I+dLxzGHwkZQPNHfQu9LCTsJFUGmwnOykm+/EKGwf | |
| 23L9T/9Dx0GJraypFQ7x7qD96dkw4YZi1mjcGHhcQ14i/emVQbHL+C7bpzUkTWUW | |
| HTxL1EPAdNHRQDMm+sXiJDyS6Sha/lrbLeMlGs= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*x:1.1.11988, H*UA:1.1.11988, H*UA:x64, H*UA:Win64 |
| X-HELO: | sonic308-10.consmr.mail.gq1.yahoo.com |
| Date: | Sun, 17 Jun 2018 01:08:45 +0000 (UTC) |
| From: | "Larry Baker via cygwin" <cygwin AT cygwin DOT com> |
| Reply-To: | Larry Baker <lbakersd AT yahoo DOT com> |
| Reply-To: | Larry Baker <lbakersd AT yahoo DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Message-ID: | <1672540905.728828.1529197725579@mail.yahoo.com> |
| Subject: | PHP 7.1.16 (cli) (built: Apr 10 2018 18:09:30) ( NTS ) |
| MIME-Version: | 1.0 |
| References: | <1672540905 DOT 728828 DOT 1529197725579 DOT ref AT mail DOT yahoo DOT com> |
Hello Cygwin,
I have been battling this issue for many weeks now and hoping to get some direction on what to try next.
I have installed php, everything seems to be working except: /usr/lib/php/20160303/php_com_dotnet.dll.
Cygwin PHP does not come with php_com_dotnet.dll so I downloaded from Microsoft. I'm trying to pull data from Visual Fox Pro 8.0 files.
My php.ini file looks like this:
[COM]
[PHP_COM_DOTNET]
extension=php_com_dotnet.dll
But when I execute my code, I get this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/php_com_dotnet.dll' - No such file or directory in Unknown on line 0
PHP Fatal error: Uncaught Error: Class 'COM' not found in /cygdrive/f/php/postcard.php:13
Stack trace:
#0 {main}
thrown in /cygdrive/f/php/postcard.php on line 13
I have searched forever and can't find a solution.
Why would PHP installation have this dll included for this version of PHP?
<?php
$conn = new COM("ADODB.Connection");
$conn->Open("Provider=VFPOLEDB.1;Data Source=/cygdrive/f/php;Collating Sequence=Machine");
// open in read-only mode
$db = dbase_open('postcard.dbf', 0);
// do some stuff
?>
Any help would be greatly appreciated!!
Regards,
Larry
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |