phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #1089] No MySQL support found. Disabling


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1089] No MySQL support found. Disabling
Date: Thu, 29 Aug 2002 17:26:07 -0400

=================== BUG #1089: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1089&group_id=509

Changes by: Anonymous user        Date: 2002-Aug-29 17:26

------------------ Additional Follow-up Comments ----------------------------
Hey Pat,

I would always suggest an upgrade rather than a downgrade.  At the same time i 
don't use rpms .. too much hassle ... but try rpmfind.net and see if you can 
find a new version.

Or maybe try to chat to some on at:
irc://irc.freenode.info/#RedHat

Good Luck

Keep me posted



=================== BUG #1089: FULL BUG SNAPSHOT ===================


Submitted by: pktorney                  Project: phpGroupWare                   
Submitted on: 2002-Aug-27 19:33
Category:  API - Setup                  Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  High                         
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Platform Version:  Linux - RedHat       
Reproducibility:  Every Time            

Summary:  No MySQL support found. Disabling

Original Submission:  I'm trying to install on a fresh system for the first 
time solo and I'm running into a wall. This is probably something easy but I 
don't know where to begin to look. 

I installed updated mysql using rpm, and phpGW release also using the latest 
rpm. 

mysql is running ok...I can access mysql cmd line and the server is running. 
But when I run the http://localhost/phpgroupware/setup/ I run into the problem 
that is tells me that I have no MySQL support found when in fact it is running. 

Can someone direct me to the right config file to make this change and or 
anything else I might need to do to fix?

Thanks so much!

AWESOME WORK!
Pat

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Aug-29 17:26             By: None
Hey Pat,

I would always suggest an upgrade rather than a downgrade.  At the same time i 
don't use rpms .. too much hassle ... but try rpmfind.net and see if you can 
find a new version.

Or maybe try to chat to some on at:
irc://irc.freenode.info/#RedHat

Good Luck

Keep me posted

-------------------------------------------------------
Date: 2002-Aug-29 10:39             By: pktorney
Ok. I understand. What's your opinion about the version of php I'm running? I 
can't seem to find the correct mysql.so etc. file set to run at the version of 
php that I have installed? Should I upgrade or downgrade? Can I run a version 
of the mysql.so file that isn't the same version of php? 

Thanks.

-------------------------------------------------------
Date: 2002-Aug-28 19:34             By: None
Sorry Pat,

I don't use rpms for my apache/php/mysql/imap install.  Maybe try rpmfind.net

Cheers

skwashd

-------------------------------------------------------
Date: 2002-Aug-28 10:12             By: pktorney
Dave,

Thank you very much for the useful info. I am still very much in learning curve 
mode with phpGW. I did as you suggested and below is the relevant portion of 
the result. 

Configure Command './configure' 'i386-redhat-linux' 
...
'--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' 
'--with-pgsql=shared' 
...

It appears that php is compiled with mysql support. However, when I check my 
rpm installs (using 'rpm -q -a | grep php') it apprears as follows:

# rpm -q -a | grep php
asp2php-0.75.17-1
php-4.1.2-7.2.3
phpGroupWare-0.9.14.000-1
asp2php-gtk-0.75.17-1
php-imap-4.1.2-7.2.3
php-pgsql-4.1.2-7.2.3
php-ldap-4.1.2-7.2.3

It shows I don't appear to have the rpm for php-mysql installed. Likewise, when 
I view the /etc/php.ini, it shows that mysql.so is commented out. That explains 
why my localhost/phpgw/setup/ tells me that I don't have mysql support. 
However, when I search google and rpmfind for the php-mysql-4.1.2-7.2.3 I only 
come up with "php-mysql-4.1.2-7.i386.rpm". 

When I try to install that rpm (using 'rpm -i php-mysql-4.1.2-7.i386.rpm') it 
tells me:

# rpm -i php-mysql-4.1.2-7.i386.rpm 
error: failed dependencies:
        php = 4.1.2-7 is needed by php-mysql-4.1.2-7

So, now I'm kind of stuck, not sure which way to go. Should I down grade my php 
rpm's to a lesser version that I can find a php-mysql rpm that will work? What 
do you suggest? Can you point me to where I can find the correct rpm that will 
work with the php rpm version I have installed?

Thanks again.

Note: forwarded message attached.


-------------------------------------------------------
Date: 2002-Aug-28 00:29             By: skwashd
Hey Pat,

Have you compiled in mysql into php or used the php-mysql module rpm??

Can you make a file call it phpinfo.php and save it somewhere in your web tree 
- being RH it should be /var/www/html/ .  In that file just put:

<pre>
<?php
phpinfo();
?>
</pre>

There will be a whole lot of info about you php setup displayed.  In the top 
top box there should be 'Configure Command' and in there should be --with-mysql 
or --with-mysql=/path/to/somewhere 

If it is not there then you don't have have mysql support for php.  Grab the 
rpm, insatll it and try again. 

NOTE if the please ignore the pre tags if they are displayed.  Still learning 
the bug tracker.

Cheers

skwashd




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1089&group_id=509




reply via email to

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