Bug #18517 Updated: PicoSQL access module
| From: | samjam@php.net | Date: | Fri, 26 Jul 2002 08:29:32 +0000 |
| Subject: | Bug #18517 Updated: PicoSQL access module | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15307@lists.php.net to get a copy of this message | ||
ID: 18517
Updated by: samjam@php.net
Reported By: bilo@mit.it
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux, Windows NT, AIX
PHP Version: 4.2.2
Assigned To: samjam
New Comment:
I though't I'd add a note on how easy this is with swig-cvs:
# make work directory
mkdir picosql-php
cd picosql-php
# make interface file to depend on picosql .h files
# we could craft our own .i file if we wanted
cat > picosql.i <<END
%module picosql
%{
#include <odbcsql.h>
%}
%include win4unix.h
%include odbcsql.h
END
# generate php module - very easy, need cvs version of swig
swig -php4 -c++ -shadow -phpfull -I/usr/include -withincs odbcsql.h -o
picosql_wrap.cpp picosql.i
# compile!
phpize
./configure --with-picosql=/usr
make
make install
# then test the module loading
php php_picosql.php
Previous Comments:
------------------------------------------------------------------------
[2002-07-26 04:28:11] samjam@php.net
Well, I've done it, if there's no objection I'll add it to CVS.
Someone else (bilo@mit.it ?) will need to write the documentation and
see how usable it actually is.
Sam
------------------------------------------------------------------------
[2002-07-24 08:50:53] samjam@php.net
I'd like to do this, using swig (www.swig.org)
Sam
------------------------------------------------------------------------
[2002-07-24 03:33:54] bilo@mit.it
This is the right link:
http://www.picosoft.it/picosql/
The main page is only in italian!
------------------------------------------------------------------------
[2002-07-23 20:01:28] bilo@mit.it
I just want to signal to C skilled (and willing) people
here that there is a new interesting RDBMS server called
picoSQL (www.picosoft.it).
Besides beeing really small (the tarball with server +
client programs + library + jdbc driver + sample db + doc
is ~ 2.8Mb) it's really full-featured and fast. It's
available for Linux and NT, it has a windows ODBC driver
(and JDBC driver, too), and ODBC 2.5 compliant C/C++ API.
It supports transactions, row level locking, BLOBS, sub-
queries and more...
Well: I think it really needs a PHP module !!!
The documentation claims it's distributed under GPL and
I've read that this can be a problem. By the way the
package also contains a Mozilla Public License file.
I've posted a message to PicoSoft asking wether the API client library
is under GPL or LGPL. Hope they'll answer
soon.
Regards
Gabriele Carioli
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18517&edit=1