phpgroupware-users
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-users] Install DB problem


From: BOYER PASCAL
Subject: Re: [Phpgroupware-users] Install DB problem
Date: Mon, 16 Jun 2003 01:37:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030527 Debian/1.3.1-2

I am using a Debian ustable and I turn pgw without problem but I removed the debian packages and I installed the 0.9.14.003 tarball.

Follow this help: http://free-source.com/files/phpgw-howto.html

don't care about

$mv files ~/phpgwadmin/
$chmod -R a+w ~/phpgwadmin/files

and in order to upgrade your phw to the 0.9.16 version (which is again in development but works fine) use:

cvs -z6 update -C -r Version-0_9_16-branch instead of cvs -z6 update -dP > cvs.log

Good luck

Pascal -- France

Blurg wrote:

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>


_______________________________________________
Phpgroupware-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/phpgroupware-users







reply via email to

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