phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] Re: [Phpgroupware-users] Install DB proble


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] Re: [Phpgroupware-users] Install DB problem
Date: Mon, 16 Jun 2003 15:57:44 +0000

assuming dl is enabled by default on enough distros this would be 
great...however,
i've yet to meet a distro what installs a module and doesn't enable it for 
you...i
don't know what these ppl are doing

Ralf Becker (address@hidden) wrote:
>
>This is from the user-list:
>
>Blurg schrieb:
>> Hi,
>> I get this error messages which has been before on the mailing list, and
>> the proposed solutions aren't working for me.
>>
>> No MySQL support found. Disabling
>> No Postgres-DB support found. Disabling
>> No Microsoft SQL Server support found. Disabling
>> No Oracle-DB support found. Disabling
>>
>> did not found any valid DB support !
>> try to configure your php to support one of the above mentioned dbs or
>> install phpgroupware by hand
>
>It happens when the (no) db-module is compiled into the php-binary.
>
>We could do much better if we not only try if the extension is loaded,
>but also try to load the extension if it is not loaded.
>Atm: if (!extension_loaded($db_type)) echo "... Disabling";
>Change to: if (!extension_loaded($db_type) && !dl($db_type)) echo "...
>Disabling";
>
>Then phpgwapi/inc/functions.inc.php have to do this check/load too,
>before the first db-access:
>if (!extension_loaded($db_type) && !dl($db_type)) {
>    echo "Cant load my db-support for '$db_type' !!!";
>    exit;
>}
>Atm you get not even an error message in that situation.
>
>This way we could deal with php-binaries without compiled it db-support,
>eg. the cgi-binary on debian woody.
>
>Ralf
>--
>----------------------------------------------------------------------
>Ralf Becker
>OUTDOOR UNLIMITED Training GmbH                Telefon 0631 / 31657-0
>Leibnizstraße 17                               Telefax 0631 / 31657-26
>D-67663 Kaiserslautern            EMail address@hidden
>
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]