[wellylug] PHP & MySQL problem.

Jethro Carr jethro.carr at jedolinux.com
Sun Aug 7 16:19:53 NZST 2005


hi all,

I've got a problem with my webserver.

I was trying to use a new installation of my distro, and I got a problem
where I can view any php page, except ones which connect to the mysql
database.

any page which contains something like:
-----------
mysql_connect("localhost","root");
mysql_select_db("mydatabase");
-----------

will cause the page to appear white only.

If I try to access PHPMyAdmin, it says 'cannot load MySQL extension,'.


I'm using PHP 5.0.3 & MySQL 4.1.13.


any help? Has the MySQL connection command changed or something?

cheers,

-- 
Jethro Carr <jethro.carr at jedolinux.com>

www.jethrocarr.jedolinux.com

www.jethrocarr.jedolinux.com/index.php?page=cv/cv.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20050807/44c00ff1/attachment.pgp 


More information about the wellylug mailing list