Reply to Cannot get sqlite to work in PHP5

Your name:

Reply:


Posted by ImOk on 06/22/06 23:06

I am using Windows XP. The docs say that sqlite is built in to PHP5.1


<?php
$sql=sqlite_open(":memory:");
$sql->close();
?>
When I run this code, I get the message below

C:\PhpApps>php-cgi php-1.php
PHP Stack trace:
PHP 1. {main}() C:\PhpApps\PHP-1.php:0
PHP Fatal error: Call to undefined function sqlite_open() in
C:\PhpApps\PHP-1.p
hp on line 7
X-Powered-By: PHP/5.1.2
Content-type: text/html


I then add php_sqlite to my php.ini. When I run it it gives a different
message about php_pdo.dll missing.

Any help is appreciated.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация