hi, i installed php5 making: apt-get install php5-cgi and after this i did apt-get install php5-sqlite3 now im tring to read some data from a sqlite3 database, it appears me this mistake: Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in /www/sqlite.php on line 8 file is encrypted or is not a database. i have been reading and i found that i have to work with PDO so i checked what i have enable with my php opening this code on my browser: <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?> i found this: PDO
pdo_mysql
pdo_sqlite
that means that i already have install PDO after this i looked for php.ini file and add this lines: extension_dir = "/usr/lib/php5/20060613+lfs" //this its the route where i have the following lines: pdo, pdo_sqlite, sqlite.so extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so after this i have the same mistake: Warning: sqlite_open() [function.sqlite-open]: file is encrypted or is not a database in /www/sqlite.php on line 8 file is encrypted or is not a database. what am i doing wrong? help!!! Discover the new Windows Vista Learn more! |
- Prev by Date: CRYPT_BLOWFISH question
- Next by Date: Linking issues on Solaris 10 x86
- Previous by thread: CRYPT_BLOWFISH question
- Next by thread: Linking issues on Solaris 10 x86
- Index(es):