File access fails in external lib called from extension
| From: | BT Std) | Date: | Mon, 20 Feb 2006 13:28:16 +0000 |
| Subject: | File access fails in external lib called from extension | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-21959@lists.php.net to get a copy of this message | ||
I have an external library (C++, .so shared lib) that uses
<fcntl.h> 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