You are here: Re: Connecting to SQLite3 database from PHP 5.25 « PHP Programming Language « IT news, forums, messages
Re: Connecting to SQLite3 database from PHP 5.25

Posted by AnrDaemon on 12/05/07 16:01

Greetings, John.
In reply to Your message dated Wednesday, December 5, 2007, 15:31:49,

> Finally I succeeded in connecting to the database. As you mentioned I edited
> the PHP.ini which was not read. Copying the file to the windows directory
> made the connection work.

You did that the worst available way.
What You should do actually, is to point PHP to right INI location.
There's some ways to do that depends on what scripting engine You using.
In Apache (both handler and filter SAPI) -

<IfModule php5_module>
php_admin_value extension_dir "C:/usr/sbin/php-5.2.2-Win32/ext"
PHPIniDir "C:/usr/sbin/php-5.2.2-Win32"
</IfModule>


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

 

Navigation:

[Reply to this 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

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