Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7586 invoked by uid 1010); 20 Feb 2006 13:28:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7571 invoked from network); 20 Feb 2006 13:28:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2006 13:28:11 -0000 X-Host-Fingerprint: 194.73.73.212 c2bthomr04.btconnect.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([194.73.73.212:11558] helo=c2bthomr04.btconnect.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1B/7E-45151-AE3C9F34 for ; Mon, 20 Feb 2006 08:28:11 -0500 Received: from va517slx ([81.134.46.222]) by c2bthomr04.btconnect.com (MOS 3.5.9-GR) with ESMTP id EET61143; Mon, 20 Feb 2006 13:27:29 GMT To: internals@lists.php.net Date: Mon, 20 Feb 2006 13:28:16 +0000 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200602201328.16218.an.dromeda@btconnect.com> Subject: File access fails in external lib called from extension From: an.dromeda@btconnect.com ("Andrew Mather (BT Std)") I have an external library (C++, .so shared lib) that uses functions (open, etc) to access local disk resources, to create a data repository. I have written a standalone KDE client that affirms that the library is functioning correctly. When I try to use a class from that library in a PHP-C++ extension however, the class is usable, but the file io fails. Is this a permissioning issue? (Apache/Php not allowing calls to disk access?) Or am I missing something? Should a C/C++ extension still be able to access system/file IO? Cheers, Andrew