phpgroupware-users
[Top][All Lists]
Advanced

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

[Phpgroupware-users] Install DB problem


From: Blurg
Subject: [Phpgroupware-users] Install DB problem
Date: Mon, 16 Jun 2003 01:20:39 +0200 (CEST)

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

I installed all the necessary phpgroupware packages, which Debian is doing
automatically. Then, I also installed the php-mysql package for php3.

Now, my php.ini got some MySQL directives, but that's about persistant
connections and the such.

I'v got this in my php.ini:
[SQL]
sql.safe_mode = Off

And these:

[MySQL]
mysql.allow_persistent = On ; allow or prevent persistent link
mysql.max_persistent = -1 ; maximum number of persistent links. -1 means
no limit
mysql.max_links   = -1 ; maximum number of links (persistent+non
persistent).  -1 means no limit
mysql.default_port  =  ; default port number for mysql_connect().  If
unset,
        ; mysql_connect() will use the $MYSQL_TCP_PORT, or the mysql-tcp
        ; entry in /etc/services, or the compile-time defined MYSQL_PORT
        ; (in that order).  Win32 will only look at MYSQL_PORT.
mysql.default_host  =  ; default host for mysql_connect() (doesn't apply
in safe mode)
mysql.default_user  =  ; default user for mysql_connect() (doesn't apply
in safe mode)
mysql.default_password =  ; default password for mysql_connect() (doesn't
apply in safe mode)
        ; Note that this is generally a *bad* idea to store passwords
        ; in this file.  *Any* user with PHP access can run
        ; 'echo cfg_get_var("mysql.default_password")' and reveal that
        ; password!  And of course, any users with read access to this
        ; file will be able to reveal the password as well.

And my /etc/phpgroupware directory contains only one file:
the header.inc.php which says:

define('PHPGW_SERVER_ROOT','/usr/share/phpgroupware/');
        define('PHPGW_INCLUDE_ROOT','/usr/share/phpgroupware/');
        $GLOBALS['phpgw_info']['server']['header_admin_password'] =
'blaah!';

        $GLOBALS['phpgw_domain']['default'] = array (
                'db_host' => 'localhost',
                'db_name' => 'phpg',
                'db_user' => 'phpg',
                'db_pass' => 'uhmz?',
                // Look at the README file
                'db_type' => 'mysql',
                // This will limit who is allowed to make configuration
modifcations
                'config_passwd' => 'duh!'
        );

Hope someone can help me out with this problem,

Jurgen

---------------------------------------------------------------------------
"When a man sits with a pretty girl for an hour, it seems like a minute.
But let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." [A. Einstein, 1938]

<footer align=left valign=bottom>
http://weirdscience.nl
</footer>




reply via email to

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