X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 04CE99DC827 for ; Tue, 10 Jan 2006 18:10:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05757-06 for ; Tue, 10 Jan 2006 18:10:42 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by postgresql.org (Postfix) with ESMTP id 80BCD9DC81E for ; Tue, 10 Jan 2006 18:10:38 -0400 (AST) Received: by nproxy.gmail.com with SMTP id b2so12250nfe for ; Tue, 10 Jan 2006 14:10:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rzZ2U1+/MDuwIIHXqFlljRLVxAxVhOAWO/4o/pAUZ7oZlwl2X5xh7RMYQMPwKD5gHoa3I5/Ye+C3dEzaFCekm/9P4wD72iGVu+L/UywEQb5r52N71JgpziQ+v6b6+aYjzCt1umDqnK24vwj7sas63Hvbx0+XvTOB4OWj2sgtplU= Received: by 10.49.33.11 with SMTP id l11mr1696nfj; Tue, 10 Jan 2006 14:10:39 -0800 (PST) Received: by 10.48.208.18 with HTTP; Tue, 10 Jan 2006 14:10:39 -0800 (PST) Message-ID: Date: Wed, 11 Jan 2006 00:10:39 +0200 From: Adrian Maier To: Magnus Hagander Subject: Re: Path-ralated problem while setting up a local postgresql website Cc: pgsql-www@postgresql.org In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE92E9B0@algol.sollentuna.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6BCB9D8A16AC4241919521715F4D8BCE92E9B0@algol.sollentuna.se> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.048 required=5 tests=[AWL=0.048] X-Spam-Score: 0.048 X-Spam-Level: X-Archive-Number: 200601/60 X-Sequence-Number: 9248 > > In the .htaccess file in the root (portal) directory, I have: > php_value include_path "/var/www/pg-pear/lib:." > > Do you have that, or similar? Note the single-dot path at the end after > the colon, it needs to be there. > And if it's there, are you sure it's being processed (the htaccess > itself, but also this line in particular)? Also worth double-checking. Hello, In .htaccess i have : php_value include_path "/usr/pkg/lib/php/:." The setting is surely processed because the error message displays the include_path . Anyway, I have read the user comments for php's include and found a solution: The problem is solved by adding at the beginning of handler.php : chdir(realpath(dirname(__FILE__))); Thanks for the reply, Adrian Maier