Re: Path-ralated problem while setting up a local postgresql website - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Path-ralated problem while setting up a local postgresql website
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E9B0@algol.sollentuna.se
Whole thread Raw
In response to Path-ralated problem while setting up a local postgresql website  (Adrian Maier <adrian.maier@gmail.com>)
Responses Re: Path-ralated problem while setting up a local postgresql website
List pgsql-www
> I modified in handler.php the line :
>
>     require_once './global/settings.php'; to
>     require_once '/home/am/pgweb/portal/global/settings.php';
>
> The error disappears, but it complains about the next require_once.
>
> This is probably a configuration issue.
> Any ideas about what can be done to fix the problem?
> (it is very ugly to modify all the php files to use full paths ... )

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.

//Magnus

pgsql-www by date:

Previous
From: Adrian Maier
Date:
Subject: Path-ralated problem while setting up a local postgresql website
Next
From: Adrian Maier
Date:
Subject: Re: Path-ralated problem while setting up a local postgresql website