X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D3FD911F65AD for ; Thu, 27 Apr 2006 10:51:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 23626-06 for ; Thu, 27 Apr 2006 10:50:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from relaygw1.kornet.net (relaygw1.kornet.net [61.74.75.196]) by postgresql.org (Postfix) with ESMTP id 7FA8211F65A1 for ; Thu, 27 Apr 2006 10:50:40 -0300 (ADT) Received: from [211.48.62.134] ([211.48.62.134]) by relaygw1.kornet.net ([61.74.75.196]) with ESMTP id 2006042722:51:24:202386.23689.65551280 for ; Thu, 27 Apr 2006 22:51:24 +0900 (KST) Received: from [222.109.159.54] ([222.109.159.54]) by relay7.kornet.net ([211.48.62.134]) with ESMTP id 2006042722:51:00:915902.21689.31894448 for ; Thu, 27 Apr 2006 22:51:00 +0900 (KST) Subject: Re: where to place the PHP scripts... From: kmh496 To: pgsql-php@postgresql.org In-Reply-To: <11461448758536.1.ppp10@ppp10> References: <11461448758536.1.ppp10@ppp10> Content-Type: text/plain; charset=EUC-KR Date: Thu, 27 Apr 2006 22:51:12 +0900 Message-Id: <1146145873.28615.3.camel@var.sirfsup.com> Mime-Version: 1.0 X-Mailer: Evolution 2.1.4 Content-Transfer-Encoding: 8bit X-TERRACE-SPAMMARK: NOT spam-marked. (by Terrace) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/24 X-Sequence-Number: 3494 2006-04-27 (¸ñ), 21:32 +0800, richelle e argones ¾²½Ã±æ: > hi! > > This is my first time to use PostgreSQL database engine, and i don't > have any idea where to put the PHP scripts so PostgreSQL can recognize > the commands. Where in Apache should i place my PHP scripts? In what > specific folder? find httpd.conf which should be in c:\program_files \ apache \ apache2 \ conf \ X!! or somethign similar. do a search for DocumentRoot and that is where the php scripts should be located. > > i am using Apache version 1.3.28 as my server and my PHP is version > 4.1.1. My Apache and PHP is a part of PHPtriad which has > also MySQL. Is it necessary for me to have an Apache server and PHP > separate from PHPtriad? If so, what versions of Apache and PHP should > i use? > you need to try to run a simple pg_connect query to see if the command was recognized. some sample is like this please try that or something similar. use google, find code. > The version of PostgreSQL that i installed in my WindowsXP machine is > 8.0. > php needs compiled-in support for postgresql, though, probably some dll or other. > Please help. Thank you. -- my site myowndictionary was made to help students of many languages learn them faster.