Prae
05-12-2003, 02:49 AM
I've installed (or at least I think I have installed) Apache/php/MySQL from the Redhat 8 discs (2 discs).
I've checked that I have php running and I do - phpinfo() returns information.
I've also d/l'ed and installed phpMyAdmin.
However, when I try to run it, I get the following message:
cannot load MySQL extension,
please check PHP Configuration.
I've gone back and checked my php.ini file and uncommented the line that says:
extension=mysql.so
Still get the above message.
I've tried running mysqladmin start and get the following:
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql
.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' ex
ists!
Sure enough, there's no file there. I don't know how to find it. Can anyone help?
I've checked that I have php running and I do - phpinfo() returns information.
I've also d/l'ed and installed phpMyAdmin.
However, when I try to run it, I get the following message:
cannot load MySQL extension,
please check PHP Configuration.
I've gone back and checked my php.ini file and uncommented the line that says:
extension=mysql.so
Still get the above message.
I've tried running mysqladmin start and get the following:
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql
.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' ex
ists!
Sure enough, there's no file there. I don't know how to find it. Can anyone help?