PDA

View Full Version : Problem with phpmyadmin



mbruti
07-04-2003, 01:58 PM
After installing Knoppix I have done an apt-get install of mysql-server, apache-ssl, php4, php4-mysql and phpmyadmin.

Knoppix told me that some of these where already at the latest level.

Now when I try accessing the https://127.0.0.1/phpmyadmin/ page I get the dreaded "Cannot load MySQL extension. Please check PHP configuration".

Logs do not show errors. The php4-mysql packages has a /usr/lib/php4/20010901/mysql.so file.

The /etc/php4/apache and cgi directories have a mysql.so line in their respective php.ini files.

What is wrong ??????????????

Thank you. Vielen Danke. Grazie Mille. Merci Beacoup. Muchas Gracias

Bob

spoetnik
07-04-2003, 07:05 PM
Is your Mysql started??
Try something like 'mysql start'

mbruti
07-05-2003, 05:24 PM
Yes thank you.

MySQL is started /etc/init.d/mysql status shows it is started

I also downloaded another MySQL GUI (cannot remember name now) and it connects to the DB. I also see the port being in LISTEN mode.

PHP works under Apache as I tried putting some simple PHP pahe (hello world) in the /var/www tree and it is ok.

Again thank you but that was not the problem

Also both /var/log/syslog, messages and the /var/log/apache logs do not show errors.

Bob

mbruti
07-07-2003, 10:57 AM
Is your Mysql started??
Try something like 'mysql start'

Solved. Purged and reinstalled EVERYTHING (mysql, apache, php and the modules) and after some head banging it worked.

Thakn you. Bob