[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moodle config tips? (or, PHP vs POSTGRES?)



On 3/8/06, will trillich <will@serensoft.com> wrote:
> having a bit of trouble getting moodle off the ground -- any pointers
> are welcome.
>
> after installing it we browse to localhost/moodle/admin and get
> NOTHING. here's a telnet session to illustrate:
>
> telnet localhost 80
> <snip>
> GET /moodle/admin/ HTTP/1.1
> Host: localhost.localdomain
>
> HTTP/1.1 200 OK
> Date: Wed, 08 Mar 2006 21:37:46 GMT
> Server: Apache/2.0.54 (Ubuntu) PHP/5.1.2-1.dotdeb.2
> X-Powered-By: PHP/5.1.2-1.dotdeb.2
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=UTF-8
>
> 0
>
> Connection closed by foreign host.
>
> that's all we get, period, from any php, no matter where in the moodle
> tree we go!
>
> we put <?phpinfo()?> at the top of the apache tree and all seems well, there.

except now we see that phpinfo includes

    <snip>'--with-zlib' '--without-pgsql'</snip>

how do we enable postgresql-from-php? we've installed the various php stuff:

ii  libapache2-mod-php5           5.1.2-1.dotdeb.2              PHP 5
scripting language - apache 2.0 module
ii  php5-pgsql                    5.1.2-1.dotdeb.2             
PostgreSQL module for php5

what are we missing? php isn't talking to postgres (or to mysql)!

--
will trillich
"Their iz ate errers in these sentance."



Reply to: