Replacing my fixed home page with a private CMS and blog using IIS and WordPress on Vista
Stage 3: Configure MySQL and PHP
Start a cmd window and type the following into it (note, change ROOTPASSWORD for your chosen root password and WORDPRESSPASSWORD for a suitable password for the wordpress user):
At the cmd prompt:
mysql -u root -pROOTPASSWORD
At the mysql> prompt:
CREATE DATABASE wordpress;
CREATE USER ‘wordpress’@'localhost’ IDENTIFIED BY ‘WORDPRESSPASSWORD’;
GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , ALTER ON
`wordpress` . * TO 'wordpress’@'localhost’;
FLUSH PRIVILEGES;
quit
These instructions were obtained from here.
Now edit php.ini:
- Uncomment lines:
- cgi.fix_pathinfo=1
- fastcgi.impersonate = 1;
- If commented out, uncomment the cgi.force_redirect line and set cgi.force_redirect = 0
Back at the cmd window, type
php -info | more
There should be no errors.
These instructions came from here.
Share This Post...
No comments yet. Be the first.
Leave a reply
