This may help someone else – I was setting up a test server with Windows Server 2008 Standard with the update to R2. I wanted it to use for testing of some WP sites and plugins I’m working on. I installed MySql, that was pretty straight forward.
Then I put PHP in. I loaded it into c:\php. (See PHP.INI Settings below)
I then added a new web site and put a test page in with this:
Then when you go to it if Â php is running you should get the PHP Info table. If you can’t get this, no sense putting WP in yet, it won’t work.
Then set the permissions for the web directory. Adding to the defaults I used Modify for Users, Full for NETWORK SERVICE and Modify for IIS_IUSERS.
Then downloaded WP and unzipped it to the web directory. Then next thing is to edit wp-config.php and set the values for host, database, login and pw for mysql access.
PHP.INI settings –
Then I had to edit php.ini, here are the changes I made. That means uncomment the line and set it’s value:
Default Value: On
; Development Value: On
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
error_log = syslog
; Temporary directory for HTTP uploaded files (will use system default if not
upload_tmp_dir = c:\tmp
; Maximum allowed size for uploaded files.
upload_max_filesize = 22M
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 10
; For Win32 only.
sendmail_from = email@example.com
; Log mail to syslog (Event Log on NT, not valid in Windows 95).
mail.log = syslog
extension=php_exif.dll ; Must be after mbstring as it depends on it