Tapio Kelloniemi wrote:
Hi
I'm a PHP and MySQL newbie, but know something about Unix-like
systems. I need to install PHP and MySQL for a person using GNU/Linux
server. This server is not however his and the service provider gives
a permission to install any programs as long as they are not running
when not used (so standard MySQL server can't be run). However, I
learned from mysql.com that MySQL server is available as a library
against which applications can link. Can PHP use this library or is it
only available for C, etc.
If it can't be used from PHP (easily, this person hasn't ever touched
C), what could be a good alternative for MySQL?
Thanks a lot for answers!
Hi Tampio,
I cannot advise you on mySQL without deamon.
But if you are interested in another solution: try a flatfile
databasedriver.
I asked this question 10 december 2003 in this very NG, and received a few
good pointers.
This is the pointer to the article if you are interested:
----------------------
Looking for a FlatFile database driver for PHP
From:
Erwin Moller <si******************************************@spam yourself.com>
Date:
Wednesday 10 December 2003 16:30:58
Groups:
comp.lang.php
no references
----------------------
I found that the following API/PHP-scripts is very usefull:
http://www.c-worker.ch/txtdbapi/index_eng.php
It can do all sorts of basic database actions, written in normal everyday
SQL.
It is written in pure PHP, so it will only be invoked when needed. No
deamons, no sockets.
Just read the readme, and you will be set and going within the hour.
Good luck.
Regards,
Erwin Moller