PHP and MySQL server library

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tapio Kelloniemi

    PHP and MySQL server library

    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!

    --
    Tapio
  • Erwin Moller

    #2
    Re: PHP and MySQL server library

    Tapio Kelloniemi wrote:
    [color=blue]
    > 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!
    >[/color]

    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 <since_humans_r ead_this_I_am_s pammed_too_much @spamyourself.c om>
    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:


    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

    Comment

    Working...