This is the first time I try installing WordPress.
Well some info first:
1) I use Apache 1.3.33 server (yes it's running. I've tested it)
2) I use php 4.4.1 (running, tested)
3) I use MySQL 4.1 Server (taskmanager says it's running..)
MySQL username= root
MySQL password= foobar (just for the example)
I go to \htdocs\ where the files must be uploaded, and I install WordPress 2.0 here \htdocs\www\wordpress\
Firstly, as the Readme says I configure the wp-config-sample (and then rename it into wp-config.php)
// ** MySQL settings ** //
define('DB_NAME', 'MySQL'); // I've also tried to set 'wordpress' instead of MySQL
define('DB_USER', 'root'); // Your MySQL username (default)
define('DB_PASSWORD', 'foobar'); // ...and password
define('DB_HOST', 'localhost'); // Also tried to set it to 127.0.0.1
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = 'wp_'; // Also tried to set 'wp_1' or 'wp_blog' or 'wp_wordpress' and 'wp_wordpress_'
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', ''); // Didn't change that
/* That's all, stop editing! Happy blogging. */
As I said, I save the file as "wp-config.php". Then I open \wp-admin\install.php and this is what I get:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
I've tried 10 times to install it but nothing. Oh.. One time, I managed to do "successfully" the installation, but when it opened the install.php the page was a mess(e.g. I saw a submit button and it's value was <?php ...). I opened PageSource and the PHP CODE was in PINK LETTERS. But from what I understood.. There was a problem (it's the first time I face this). Let's take some lines of code from the install.php
die("There doesn't seem to be a <'code'>wp-config.php<'/code'> file... // I put the quotes between the code so that it will not be displayed as a CODE to you..
I see that the "PINK CODE" (which must be php) STOPS when it faces a ">".. So it stops at
(at the '>').
What must I do? At the moment, I don't even see the install.php . It just displays the ERROR page (can't connect to the db etc..)
Thanks in advance guys.
Meanwhile, I'll try to install an older version of WP.
PS: Sorry for the HUGE post :P