These notes apply to PhpMyAdmin 2.6.4-pl3 on a Windows box (in my case XP Pro).
PHP
v 5 (5.1.4):
- Unzip download eg into c:\php
- Add the php dir to the PATH environment variable.
- Copy php.ini-dist into windows dir (eg c:\windows) as php.ini (the php install docs incorrectly state that you only need to add the php dir to the PATH env var - and dont have to move any files into the windows dirs - however that's bollocks - at a bear minimum you need the ini in your windows dir.)
NOTE: This is the development version - switch over to using php.ini-recommended when doing testing *and* live deployment.
- Create an application mapping within IIS to map extention .php to c:\php\php5isapi.dll.
v 4 (4.3.10):
- Unzip download eg into C:\php-4.3.10-Win32
- Copy php.ini-dist into windows dir (eg c:\windows) as php.ini
NOTE: This is the development version - switch over to using php.ini-recommended when doing testing *and* live deployment
- Copy php4ts.dll to windows system dir (eg C:\WINDOWS\system32)
- Create an application mapping within IIS to map extention .php to php4isapi.dll.
Notes:
- You may need to add the php dir (eg C:\php-4.3.10-Win32) to PATH environment variable.
- You may need to edit php.ini and apply the following settings:
cgi.force_redirect = 0;
PhpMyAdmin:
- Unzip download eg into C:\phpMyAdmin-2.6.4-pl3
- Create a virtual dir (eg called pma) within IIS pointing to your phpmyadmin dir eg C:\php-4.3.10-Win32.
Use the default IIS settings (ie Read and Run scripts permissions).
- Edit config.inc.php and apply the following settings (enter your own settings - I've just shown mine):
- $cfg['PmaAbsoluteUri'] = 'http://localhost/pma';
- $cfg['blowfish_secret'] = 'smallcat';
- $cfg['Servers'][$i]['auth_type'] = 'cookie';
Bingo - that *should* be enough.
Give it a whirl.
Tim