473,394 Members | 1,721 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,394 software developers and data experts.

SQLite DB using without SQLite Extension

Hi all,

I want to use SQLite databases to my site. But the hosting company's
server does not support SQLite extension. Is there any way to use
SQLite DB's to my site?

PS: safe mode is off, php version is 4.3.4

Thanks

--
Cafer ÅžimÅŸek
http://cafer.org
Sep 5 '05 #1
3 4180
SQLite is not introduced until PHP 5. Correct me if I am wrong ;)

Cafer ÅžimÅŸek wrote:
Hi all,

I want to use SQLite databases to my site. But the hosting company's
server does not support SQLite extension. Is there any way to use
SQLite DB's to my site?

PS: safe mode is off, php version is 4.3.4

Thanks

Sep 6 '05 #2
Yes, that's true, but PHP5 has only bundeled version of SQLite
library. You may extend to SQLite with PECL components see the
database section of http://pecl.php.net

Best Regards
RolandD <rd**********@spamhotmail.com> writes:
SQLite is not introduced until PHP 5. Correct me if I am wrong ;)

Cafer ÅžimÅŸek wrote:
Hi all,
I want to use SQLite databases to my site. But the hosting company's
server does not support SQLite extension. Is there any way to use
SQLite DB's to my site?
PS: safe mode is off, php version is 4.3.4
Thanks


--
Cafer ÅžimÅŸek
http://cafer.org
Sep 6 '05 #3
SQLite is available since PHP 4.3.x as a PECL extension. In PHP5 it is
included in the standard installation. With PHP 5.1 SQLite 3.x databases
are supported through PDO. All of these are PHP extensions and have to
be activated in the php.ini file. If your provider does not feature a
SQLite installation you can

- try installing a matching version of the sqlite.so (or .dll) extension
in your account and load it with dl() or PHP directives in a .htaccess
file.
- Use the command line SQLite client. This should be a pain in the a**
because you can't use any of the SQLite commands of PHP and it will
be VERY slow.
- Convice your provider to switch install the extension or (even better)
install PHP5. The german provider Strato shows that a provider can
feature PHP 4.0/4.3/5.0 in parallel...
- Switch the provider. PHP5 is out for over a year now!
Your provider doesn't feature it: Man, that's slow!

AllOLLi
Sep 8 '05 #4

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

Similar topics

3
by: marvin | last post by:
error msg... the procedure entry point spprintf could not be located in the dynamic link library php4ts.dll i dumped the contents of the download of sqlitemanager in a web server directory. at...
3
by: Richard Hulbert | last post by:
Hi there all I am trying to get SQLite working with php4 I have installed using the command line 'pear install SQLite' - so far so good. this is supposed to (as I understand it) DL the package...
4
by: Jim Carlock | last post by:
I added the following lines to PHP.INI. extension=php_pdo.dll extension=php_pdo_sqlite.dll extension=php_sqlite.dll specifically in that order. I noticed the extensions getting loaded are...
20
by: Rob Stevens | last post by:
Can someone tell me how to import the sqlite3.dll file into c#. I am pretty new to this, and I want to use sqlite. The problem is I don't have a clue on how to import the dll file so i can call...
9
by: Gilles Ganault | last post by:
Hello I was looking for a lighter web server than Apache, and installed Lighttpd on CentOS through yum. It works fine, but I now need to use SQLite from a PHP script. I seem to understand that...
8
by: Gilles Ganault | last post by:
Hello I need to compile PHP5 with SQLite statically and without PDO. I don't need DB-independence, so it's fine using sqlite_*() functions instead of PDO. 1. I've downloaded, compiled, and...
3
by: Daniel Fetchinson | last post by:
Does Python 2.5.2's embedded SQLite support full text searching? Sqlite itself is not distributed with python. Only a python db api compliant wrapper is part of the python stdlib and as such it...
1
by: Harris Kosmidhs | last post by:
Hello. I started writing an application and used PDO to connect to an sqlite file.The sqlite DB was created with the Sqllite extension of firefox. Now I want to switch to CakePHP. I used the...
8
by: john6630 | last post by:
I am trying to get PDO for sqlite to work on my localhost system. I have modified the PHP5.ini file as shown below and run the following PHP script. As stated below, it reports the mssql, mysql and...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.