tesicg
tesicg

Reputation: 4053

I cannot install WordPress 3.5.1

I've downloaded and installed XAMPP 1.8.1 on Windows. XAMPP control panel is running, Apache started and MySQL started.

When I click install.php in wordpress\wp-admin folder the following error comes up:

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.
>
get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that Blogs appear in search engines by default $blog_public = 1; if ( ! empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( $_POST['weblog_title'] ) ) : ''; $user_name = isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) : ''; if ( ! is_null( $error ) ) { ?>

ERROR: %s' ), $error ); ?>

I have never worked with this tool and never worked with MySQL (where is MySQL?). How can I make WordPress work?

Upvotes: 0

Views: 396

Answers (1)

Mark
Mark

Reputation: 3035

Are you accessing the file with a http request? (e.g. http://localhost/mysite). It could be a case of resetting the services (Apache and MySQL) or doing a clean install, but more information is required to assist.

A quick Google gives a number of solutions for this problem, see PHP not working in XAMPP or http://wordpress.org/support/topic/wordpress-xampp-and-virtual-hosts-please-help. Indeeed you could even try the XAMPP site, or just try Googling the error message.

There are a number of root causes and this problem can only have speculated answers unless you provide more detail on what you have tried.

Upvotes: 1

Related Questions