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

Re: getting PHP and MySQL to work together



On Sun, Jan 08, 2006 at 10:13:51PM +0800, Jon  Miller wrote:
> I would like to have Apache2, PHP4 and MySQL to work together.  I did a apt-get mysql-server, php and several other modules and it all went in.  I can access mysql from the local server and from using phpmyadmin from a WinXPP PC.  However, when I run the phpinfo() from a php file, it does not mention has in it's listing a section on mysql.  Is this normal ?  It does have mention of several mysql modules:
> PHP Version 4.3.10-16
> Loaded Modules  - mod_auth_mysql
> supported databases - MySQL
> Configure Command  - '--without-mysql' 
> 
> I'm just wondering is this is setup correctly.
> 
> Jon

Check that you have extension=mysql.so uncommented in the
/etc/php4/apache2/php.ini file. I have php4-common version 4:4.4.0-4
from etch and it seems to be added as the last line in there.

Simo
-- 
:r ~/.signature

Attachment: signature.asc
Description: Digital signature


Reply to: