phpMyAdmin installation notes
(phpMyAdmin-2.6.1-pl3 php-4.3.10 apache-2.0.53)
First, PHP must be installed correctly. If phpMyAdmin wants to use http authentication, PHP must be installed as an apache module. In addition, mbstring must be added to support the specific installation process.
./configure --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring
(General: ./configure --prefix=/usr/local/php4 --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring)
make
make install
(FreeBSD) In /usr/local/apache/etc/conf/httpd.conf, add
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Check if there is
LoadModule php4_module modules/libphp4.so
If not, add
and install phpMyAdmin (usually just decompress it)
Revise
$cfg['PmaAbsoluteUri']
$cfg['Servers'][$i]['host']
$cfg['Servers'][$i]['auth_type'] # If you install it according to the apache module, you can use http, and if you install it according to cgi, you need to use cookies.