Hi, I hate to be one of the many many people with this same question, but I’ve reinstalled, read all the FAQs, and am tired of banging my head against the wall… this is what I did:
1) On Ubuntu, used Synaptic to install WordPress 1.5. The default locations are /usr/share/wordpress, /usr/share/doc/wordpress, and /etc/wordpress.
2) I already have php, mysql and apache2 running, so I just create the database “wordpress” and assign the permissions as per the documentation. The user is wordpress, the password is, let’s say, “smerk” (not the real one).
3) I edit wp-config-sample.php with the following:
?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘wordpress’); // Your MySQL username
define(‘DB_PASSWORD’, ‘smerk’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’
// 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’, ”);
/* Stop editing */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
And I copy this OVER wp-config.php in the /usr/share/wordpress directory. This file is symlinked to /etc/wordpress/wp-config.php.
4) So far so good. The next step is the issue: I go to https://blah.domain.com/wordpress/wp-admin/install.php and I get the following error:
Warning: main(/etc/wordpress/wp-settings.php) [function.main]: failed to open stream: No such file or directory in /etc/wordpress/wp-config.php on line 20
Fatal error: main() [function.require]: Failed opening required ‘/etc/wordpress/wp-settings.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /etc/wordpress/wp-config.php on line 20
And I have no idea what to do next. I have followed the (scant) directions under /usr/share/doc/wordpress/README.Debian, all it says to do is to copy wp-config-sample.php to wp-config.php (which I have done) and to create a database in MySQL, which I have also done.
Thank you so much for your help in advance, I really appreciate it.