You SLA me!
Posted on 28 Apr 2009 at 11:02
Jon Honeyball wonders where in the world his data is stored, and David Moss continues his mission to get a course management system up and running.
IIS_USERS
IUSR
Network service
Click on OK once these permissions have been assigned. Again, if you haven't already done this, go to the PHP folder, open the php.ini file, locate the following entry and add the path to the Sessions folder (mine looks like this, but yours may well differ):
session.save_path="C:PHPSessions"
While you're in the php.ini file, make sure the following entries are uncommented:
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
With that done return to IIS Manager, click on Default Web Site and double-click on Default Document in the centre pane. Click on Add... in the right-hand pane and type index.php into the edit box, then click on
$cfg['blowfish_secret'] = ' '; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
Add a value between the single quotes, which can be whatever you choose, for example:
$cfg['blowfish_secret'] = 'pcpro1234';
Next, look for this entry:
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
Your server does have it, so change it as follows:
$cfg['Servers'][$i]['extension'] = 'mysqli';
Next you have to consider logon, so look for the following entry:
/* User for advanced features */
// $cfg['Servers'][$i]['controluser] = 'pma;
// $cfg['Servers'][$i]['controlpass] = 'pmapass;
Get rid of those two forward slashes // in front of each line and change "pmapass" to something else, and you should end up with something that looks like this:
$cfg['Servers'][$i]['controluser] = 'pma';
$cfg['Servers'][$i]['controlpass] = 'pcpro5678pass';
Now look for this entry:
/* Advanced phpMyAdmin features */
Below this heading you'll see a set of entries, each like the controluser and controlpass entries preceded by two forward slashes //, thus:
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
// $cfg['Servers'][$i]['bookmarktable] = 'pma_bookmark';
// $cfg['Servers'][$i]['relation] = 'pma_relation';
...
There are nine of these entries in total, the last one being "pma_designer_coords". Once again, you'll need to remove the forward slashes from each line to uncomment them. Once you've done all this, save the file as config.inc.php. Fire up a browser, and enter the URL http://localhost/phpmyadmin/.
If all has gone well you should now see the phpMyAdmin welcome screen. Type in your MySQL username and password and click on Go. Now you should be in phpMyAdmin and can begin to work on building your new MySQL schema. See you next month in the July issue, and have fun experimenting in the meantime.
David Moss
Jon Honeyball
Jon is one of the UK's most respected IT journalists and a contributing editor to PC Pro since it launched in 1994. He specialises in Microsoft technologies, including client/server and office automation applications.
advertisement
- Getting to grips with Microsoft's IT Health Environment Scanner
- Virtualise your servers
- The changing face of travel gadgets
- Build your own distributed file system
- The bulletproof Dell that costs an arm and a leg
- Microsoft Office 2010 Technical Preview: Q&A
- Lawnmowers, the TyTN II and one odd insurance request
- There'll never be a bulletproof OS
- How far can we trust apps?
- Five nice touches in Outlook 2010
- ATI Radeon HD 5970: 42% more expensive in the UK
- Office 2010 Beta – 32-bit or 64-bit – The Choice is Clear
- Why Britain's watchdogs have fewer teeth than goldfish
- Tabbed documents: how to make Office 2010 great
- Outlook 2010 People Pane – does it spell death to Xobni
- Microsoft Outlook 2010 screenshots
- Co-Authoring in Word 2010 and SharePoint Foundation 2010
- Microsoft Outlook 2010 screenshots: Backstage view
- Flash 10.1: Developing for Desktop and Device
- Microsoft Office 2010 screenshots: Recover unsaved items
- Apple "refuses to repair smokers' Macs"
- Spotify arrives on Symbian
- Chrome OS and Android to "converge over time"
- Microsoft to pay News Corp to stay off Google
- Christmas sales surge knocks out eBay search
- Windows 8 set for 2012 release
- Q&A: Why Conficker was a victim of its own success
- App developers losing faith in Android
- Biz Stone: Murdoch's Google veto will "fail fast"
- Google adds automatic captions to YouTube
advertisement
Printed from www.pcpro.co.uk


