On Friday 09 June 2006 02:37, Joachim Schipper wrote:
> This is most likely an issue with httpd living in a chroot jail, no?
>
i guess so, but don't really know enough about chroot yet.

anyway, rather than follow the much appreciated instructions craig gave, i 
looked at the punbb code and it seems to me that "localhost" wouldn't work as 
an entry because there are provisions for the dbhost to NOT BE "localhost", 
but none for it TO BE "localhost" (code snip below). also testing the output 
of the $connect_string shows that "host=localhost" never shows up, which must 
be why i couldn't connect.

in any case, i changed the "localhost" to 127.0.0.1 and both phpBB and punBB 
installed fine.

i presume that i am not running unix sockets but am doing what craig called 
the "TCP sockets over the loopback".

things seem to be going very well with postgre! 
i have 2 test forums one with phpBB and the other with punBB running now for 
more than 12 hours without a problem, while my original mysql-phpBB forums 
seem to partially crash twice a day (a flush tables in mysql fixes things 
though, so i think the problem must be a mysql one rather than phpBB) - even 
when there has been barely any activity on them.

oh yes - i really like punBB now that i've had some time with it. it is 
cleaner and neater (though admittedly not as visually aesthetic). just have 
to convince the forum users LOL.

-- 
In friendship,
prad

                                      ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's


-----------------
               if ($db_host != '')
                {
                        if (strpos($db_host, ':') !== false)
                        {
                                list($db_host, $dbport) = explode(':', 
$db_host);
                                $connect_str[] = 'host='.$db_host.' port='.
$dbpor$
                        }
                        else
                        {
                                if ($db_host != 'localhost')
                                        $connect_str[] = 'host='.$db_host;
                        }
                }
------------------

Reply via email to