Installation Issues – PHP Error Message and Blank Pages
-
Hello folks,
I’m trying to install WordPress 3.1 on WAMP and I’ve been encountering some issues.
First of all, here are the various versions of things I’m using:- Windows XP
- WAMP 2.1 which includes
- Apache 2.2.17
- PHP 5.3.5
- MySQL 5.5.8
I’ve been using WAMP prior to downloading WordPress and it has worked fine, so I don’t think it’s an issue with any kind of WAMP setup, though I suppose I shouldn’t rule that out.
Here’s what I’ve done:
- I downloaded WordPress 3.1 and followed the instructions for setting up a database and user on phpmyadmin. As far as I can tell, that was all done correctly, with all database-specific privileges granted to the user I created.
- I moved the wordpress directory and all of its contents in the localhost/www folder.
- I edited the wp-config.php file (renamed from wp-config-sample.php) to match what I created in phpmyadmin and put in the unique authentication keys and salts that the generator gave me. I double-checked to make sure I was editing the file inside my localhost/www/wordpress directory and NOT the one I downloaded to my desktop, and I was editing the correct one.
I received two errors:
-
When I go to http://localhost/wordpress/index.php, /wp-blog-header.php or (I assume) any other file other than /wp-admin/install.php I see only a blank page.
- When I visited the http://localhost/wordpress/wp-admin/install.php I received the following notice:
Error: PHP is not running
WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
After closing and restarting the browser (Firefox 4.0) I now receive only a blank page there as well (???). I did double-check my settings in phpmyadmin but I didn’t change anything; though I can’t think of any other reason for it to have changed.
I tried changing some things to see if I could gain a little bit more insight into the problem (keeping in mind that my php knowledge is rudimentary at best, and my WAMP knowledge is 0.) The one thing I could do to make things change was to add one extra quotation mark in the wp-config file to see if that would elicit an error message and deduce whether or not it was actually being read – anything is better than a blank page.
On visiting any of those pages after having made that change, I receive a table with this heading:Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wamp\www\wordpress\wp-config.php on line 25
I assume that means that it is reading the code somehow, despite returning blank, and I hope that will make it easier to find out what the problem is.
Thank you in advance,
-Benjamin
- The topic ‘Installation Issues – PHP Error Message and Blank Pages’ is closed to new replies.