473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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
Jul 17 '05 #1
1 1651
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
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: darin Ginther | last post by:
RE:mysql-3.23.58-1.73.i386.rpm mysqld does not exist on my system... I think this is just the client software.. I have to install the database itself from source, IE -...
15
by: B. Pigman | last post by:
There have been many questions as to the viability of MySQL's assertion that it can dictate what constitutes a derived work in order to use the GPL against developers who don't wish their software...
0
by: packrat | last post by:
I am attempting to build a Bugzilla server on OS X. All of this is new to me, working with the Perl, MySQL, and Bugzilla, so I have been banging my head often. Software error: When I run the...
1
by: Good Man | last post by:
Hi there I've noticed some very weird things happening with my current MySQL setup on my XP Laptop, a development machine. For a while, I have been trying to get the MySQL cache to work....
0
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
1
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
5
oll3i
by: oll3i | last post by:
my librarybean package library.ejb; import java.sql.*; import javax.ejb.*; import library.common.*; @Stateless @Remote
5
by: scorpionbilli | last post by:
Hi, The local mysql server is running on my Macbook. I can access it through the console client: $ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL...
0
by: amit2781 | last post by:
Hi, I am using two MySQL library in my application MySQL 4.0.13 and MySQl 5.1.34. Old version library linked statically and New version is dynamically. It is on Solaris-10 platform. There is no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.