This topic is locked

PHPrunner 5.2 & 5.3 and SQLite

10/27/2010 5:49:56 AM
PHPRunner General questions
T
TKindermann author

Hello everybody,
We are running here PHPRunner with a MYSQL Database and all are running fine.
now I want to implement a new project with sqlite.
The idea is the following:

1.) I have a local sqlite database on a path like d:\xxx\databse.s3db

2.) I have a standalone Webserver with php and sqlite support like server2go

3.) Now I want to develop a website based on the sqlite database

Till now it's no problem, but when i publish the website to my local Webserver I want to copy the database into a subfolder of the root-webite-directory

(example: ...\htdocs\www\site\db) now I thought see in some one screenshots the option to copy the database to a subfolder of the website.
But I can't see this option in my phprunner 5.2 and not in phprunner5.3?
can somebody help me?
kind regards
Thomas

Sergey Kornilov admin 10/27/2010

You need to copy your SQLite database file to the web server manually using any third party FTP client. PHPRunner don't have this option for now.

T
TKindermann author 10/28/2010

ok, But in which directory?

Is there any connection string to be change, or is it a parameter in the web server ??

kind regards

Thomas

J
Jane 11/4/2010

Thomas,
you can copy your database to any directory om your web server.

Just make sure web user has 'view/edit' permissions to this directory.
Then point generated files to this database in the include/dbcommon.php file.