Saturday, June 13, 2009

iis 7.0, phpmyadmin, folder

cannot access phpmyadmin folder in inetpub.  keep notifying error 500. using windows server 2008

this post have very good step by step guide on solving it.

some summary from the post:
0. php 5.2.3

1. install mysql-essential-5.0.24a-win32.msi

2. extract phpMyAdmin-2.8.2.2.zip to D:\inetpub\wwwroot\phpmyadmin

3. start - run - inetmgr - default web site - right-click phpmyadmin - convert to application

4. php.ini updates:

extension_dir = "d:\php\ext"

uncomment extensions: php_mbstring.dll, php_mysql.dll

session.save_path = "D:\temp\phpsessions\phpmyadmin"

5. create D:\temp\phpsessions\phpmyadmin, give "network service" full access

6. update config: D:\inetpub\wwwroot\phpmyadmin>type config.inc.php

<?php

$cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice

$i=0;

$i++;

$cfg['Servers'][$i]['auth_type']     = 'cookie';

?>

i think the most important part of solving server error while accessing folder is step 3. by converting the folder to application
0. php 5.2.3

1. install mysql-essential-5.0.24a-win32.msi

2. extract phpMyAdmin-2.8.2.2.zip to D:\inetpub\wwwroot\phpmyadmin

3. start - run - inetmgr - default web site - right-click phpmyadmin - convert to application

4. php.ini updates:

extension_dir = "d:\php\ext"

uncomment extensions: php_mbstring.dll, php_mysql.dll

session.save_path = "D:\temp\phpsessions\phpmyadmin"

5. create D:\temp\phpsessions\phpmyadmin, give "network service" full access

6. update config: D:\inetpub\wwwroot\phpmyadmin>type config.inc.php

<?php

$cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice

$i=0;

$i++;

$cfg['Servers'][$i]['auth_type']     = 'cookie';

?>

No comments:

Post a Comment