I'm a noobie to server stuff, but I need a local server for testing. I installed UniServer 5.6.16-Nano successfully on my USB stick. When I created a folder in the www folder and put the latest version of WordPress in it (after creating a database and user/password for the database), and tried to install WordPress at file:///D:/UniServer/www/area51/wp-dev/wp-admin/install.php I got this:
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.
' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '
' . __('Log In') . '
' ); } $php_version = phpversion(); $mysql_version = $wpdb->db_version(); $php_compat = version_compare( $php_version, $required_php_version, '>=' ); $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' ); if ( !$mysql_compat && !$php_compat ) $compat = sprintf( __('You cannot install because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); elseif ( !$php_compat ) $compat = sprintf( __('You cannot install because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ); elseif ( !$mysql_compat ) $compat = sprintf( __('You cannot install because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.'), $wp_version, $required_mysql_version, $mysql_version ); if ( !$mysql_compat || !$php_compat ) { display_header(); die('
' . __('Insufficient Requirements') . '
' . $compat . '
'); } switch($step) { case 0: // Step 1 case 1: // Step 1, direct link. display_header(); ?>
ReadMe documentation at your leisure. Otherwise, just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ), '../readme.html' ); ?>
PHP not running on UniServer 5.6.16-Nano
in PHP
Posted
Hi
I'm a noobie to server stuff, but I need a local server for testing. I installed UniServer 5.6.16-Nano successfully on my USB stick. When I created a folder in the www folder and put the latest version of WordPress in it (after creating a database and user/password for the database), and tried to install WordPress at file:///D:/UniServer/www/area51/wp-dev/wp-admin/install.php I got this:
I'm not a PHP developer and I don't now much about Apache, etc. So any help you can give me would be appreciated.
Thanks.