[Cialug] RE: dep

Jonathan Bailey cialug@cialug.org
Tue, 14 Dec 2004 16:10:41 -0600


Check /etc/php/php.ini (or similer). Make sure there is a line with 
'extension=mysql.so' on it (exactly as in the quotes). If you're using 
it with Apache, you'll have to stop and start Apache. (apachectl stop, 
apachectl start   or   apache2ctl stop, apache2ctl start).


Jon

Joel Eddy wrote:

> In the Configure Command I see: '--with-mysql=shared
>
> dbx
>      dbx support  enabled
>      dbx version  1.0.0
>      supported databases  MySQL ODBC PostgreSQL Microsoft SQL Server 
> FrontBase Oracle 8 (oci8) Sybase-CT
>
>
>
> I don't see a MySQL section at all.
>
> Do I dare give you the link to the server so you can take a look at it 
> too?
> Off list of coarse.
>
> I mean I know your working and all.
>
> Joel
>
>
> ----- Original Message ----- From: "David Champion" <dave@visionary.com>
> To: <cialug@cialug.org>
> Sent: Tuesday, December 14, 2004 3:03 PM
> Subject: Re: [Cialug] RE: dep
>
>
>> Make a page called test.php that contains:
>>
>> <? phpinfo(); ?>
>>
>> Load it in a browser. Look at the output for "mysql". It should be up 
>> near the top under "Configure Command", and possibly "Extensions". 
>> There should also be a "MySQL Support" section farther down the page. 
>> If not, you still have problems.
>>
>> -dc
>>
>> Joel Eddy wrote:
>>
>>> Well I think I have phpmyadmin running and all. I just get this error
>>>
>>> cannot load mysql extension,
>>> please check PHP Configuration
>>>
>>> So I'm thinking it must be something in the config.inc.php file that 
>>> I still don't
>>> have right.
>>>
>>> What's your guess.
>>>
>>> Sincerely,
>>>
>>> Joel Eddy
>>> Iowa Connect, Inc.
>>> http://www.iowaconnect.com
>>> Ph. 641-456-5964
>>> Fax 641-456-5912
>>>
>>> ----- Original Message ----- From: "David Champion" 
>>> <dave@visionary.com>
>>> To: <cialug@cialug.org>
>>> Sent: Tuesday, December 14, 2004 2:37 PM
>>> Subject: Re: [Cialug] RE: dep
>>>
>>>
>>>> You can install phpmyadmin by simply downloading the .tgz from 
>>>> their web site and extracting it. You'll have to change the admin 
>>>> password in the config.inc.php (or something like that).
>>>>
>>>> If you already have php & mysql working this would be an easy 
>>>> solution for you. If you still need to get the php mysql stuff 
>>>> working then you should probably keep heading down that path.
>>>>
>>>> -dc
>>>>
>>>> Joel Eddy wrote:
>>>>
>>>>> I'm BEATING my head against the wall trying to install phpmyadmin. 
>>>>> And it
>>>>> wanted php-mysql installed which in turn was looking for 
>>>>> libmysqlclient.so.10.
>>>>>
>>>>> I finally installed php-mysql with nodeps, out of frustration. But 
>>>>> so far I'm not
>>>>> having any luck with phpmyadmin. I keep getting:
>>>>>
>>>>> cannot load mysql extension,
>>>>> please check PHP Configuration
>>>>>
>>>>> which from the documents says:
>>>>>
>>>>>> snipit>
>>>>>
>>>>>
>>>>>
>>>>> [1.20] I receive the error "cannot load MySQL extension, please 
>>>>> check PHP Configuration".
>>>>> To connect to a MySQL server, PHP needs a set of MySQL functions 
>>>>> called "MySQL extension". This extension may be part of the PHP 
>>>>> distribution (compiled-in), otherwise it needs to be loaded 
>>>>> dynamically. Its name is probably mysql.so or php_mysql.dll. 
>>>>> phpMyAdmin tried to load the extension but failed.
>>>>>
>>>>> Usually, the problem is solved by installing a software package 
>>>>> called "PHP-MySQL" or something similar.
>>>>>
>>>>>> snipit/>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I just wish it would install as easy as the document makes it sound.
>>>>> Either way here I sit all broken hearted had to $hit but only farted.
>>>>>
>>>>> Sincerely,
>>>>>
>>>>> Joel Eddy
>>>>> Iowa Connect, Inc.
>>>>> http://www.iowaconnect.com
>>>>> Ph. 641-456-5964
>>>>> Fax 641-456-5912
>>>>>
>>>>> ----- Original Message ----- From: "Christopher Freeman" 
>>>>> <cfreeman@remote-print.com>
>>>>> To: <cialug@cialug.org>
>>>>> Sent: Tuesday, December 14, 2004 2:20 PM
>>>>> Subject: Re: [Cialug] RE: dep
>>>>>
>>>>>
>>>>>> Joel Eddy wrote:
>>>>>>
>>>>>>> Where does one find the file: libmysqlclient.so.10
>>>>>>> Not even yum can find it as a dep.
>>>>>>>
>>>>>>> Sincerely,
>>>>>>>
>>>>>>> Joel
>>>>>>> _______________________________________________
>>>>>>> Cialug mailing list
>>>>>>> Cialug@cialug.org
>>>>>>> http://cialug.org/mailman/listinfo/cialug
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Are you trying to find a package which provides it, or find out 
>>>>>> where it is on your system?
>>>>>>
>>>>>> Chris
>>>>>> _______________________________________________
>>>>>> Cialug mailing list
>>>>>> Cialug@cialug.org
>>>>>> http://cialug.org/mailman/listinfo/cialug
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Cialug mailing list
>>>>> Cialug@cialug.org
>>>>> http://cialug.org/mailman/listinfo/cialug
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Cialug mailing list
>>>> Cialug@cialug.org
>>>> http://cialug.org/mailman/listinfo/cialug
>>>>
>>>
>>> _______________________________________________
>>> Cialug mailing list
>>> Cialug@cialug.org
>>> http://cialug.org/mailman/listinfo/cialug
>>>
>>
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug@cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
>
> _______________________________________________
> Cialug mailing list
> Cialug@cialug.org
> http://cialug.org/mailman/listinfo/cialug
>