Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  129 Posts | 0 Stories | 874 Comments | 677 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

These notes apply to PhpMyAdmin 2.6.4-pl3 on a Windows box (in my case XP Pro).

PHP

v 5 (5.1.4):
  1. Unzip download eg into c:\php
  2. Add the php dir to the PATH environment variable.
  3. 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.
  4. Create an application mapping within IIS to map extention .php to c:\php\php5isapi.dll.

v 4 (4.3.10):

  1. Unzip download eg into C:\php-4.3.10-Win32
  2. 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
  3. Copy php4ts.dll to windows system dir (eg C:\WINDOWS\system32)
  4. 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:

  1. Unzip download eg into C:\phpMyAdmin-2.6.4-pl3
  2. 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).
  3. Edit config.inc.php and apply the following settings (enter your own settings - I've just shown mine):
    1. $cfg['PmaAbsoluteUri'] = 'http://localhost/pma';
    2. $cfg['blowfish_secret'] = 'smallcat';
    3. $cfg['Servers'][$i]['auth_type']     = 'cookie';

Bingo - that *should* be enough.

Give it a whirl.

Tim

posted on Monday, October 31, 2005 3:25 PM

Feedback

# re: Cheatsheet: Quick install PHP and PhpMyAdmin 7/4/2007 10:35 AM Brainwavez
excellent, adding the URLs to the guide would make it even better ;)

PHP4:
http://www.php.net/get/php-4.4.7-Win32.zip/from/a/mirror

PHP5:
http://www.php.net/get/php-5.2.3-Win32.zip/from/a/mirror

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 8 and 4 and type the answer here: