PhpMyAdmin on Apache

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
arifniaz
Cadet
Posts: 10
Joined: Mon Jun 23, 2003 4:49 pm
Contact:

PhpMyAdmin on Apache

Post by arifniaz »

HI

I am using red hat linux 9 and apache server i also install an configure mysql on it.
Now i want to configure PhpMyAdmin on it. i run a simple .php (hello world ) scripts its working ok i place it in /usr/myphpfiles/

Similarly i put all the PhpMyAdmin files in the above mentioned directory but when i run the index.php

it give me error which is

cannot load MySQL extension,
please check PHP Configuration.

So kindly suggest what i have to do to run PhpMyAdmin

Thanks in Advance,

Arif
fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Post by fawad »

Like the poor php compiler said, you don't have the php mysql extensions. On redhat, they have the names like php-??. So, the mysql extension package should be php-mysql-??.rpm. Install that, restart apache and test it again. For future reference consider keeping a file called phpinfo.php with the contents

Code: Select all

<?php phpinfo(); ?>
This page will dump out the current configs, and those of all the plugins and extensions of php that are installed.
Post Reply