Parse error: parse error, unexpected T_STRING
-
I’m having issues installing this.
I have Apache 2.x with Windows XP, PHP [stable and not the beta one], and mysql running
I download this. I make the config file manually:
define(‘DB_NAME’, ‘whatever’); // The name of the database
define(‘DB_USER’, ‘whatever’); // Your MySQL username
define(‘DB_PASSWORD’, ‘whatever’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
now…with all this in..I remove where it says whatever and remove the ‘ and put the stuff in. When I do that, I get this:
Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache2\htdocs\wp-config.php on line 8
WordPress
Fatal error: Call to a member function on a non-object in C:\Program Files\Apache2\htdocs\wp-admin\install.php on line 47
goody…so I put the ‘ back in there and I end up with this:
Error establishing a database connection! This probably means that the connection information in youn wp-config.php file is incorrect. Double check it and try again.
* Are you sure you have the correct user/password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
Uhhh…I’m sure its running since I can see it in my system tray. I have apache and php working also just fine. [http://dpvtank.gotdns.org/info.php].
I’m sure I have mysql running also just fine. I’ve installed this before [mysql with apache and php] and it has worked fine before. Jut not this time. with this. I figure it might have to do with my firewall. I disable that and it still happens
Some help here.
- The topic ‘Parse error: parse error, unexpected T_STRING’ is closed to new replies.