Устанавливаю движок на хостинг WordPress.ru в тарифе начальный, Поддержка PHP 5.2.17,Поддержка Perl,Поддержка MySQL.Поддержка PostgreSQL,Поддержка phpMyAdmin 3.5,Поддержка phpPgAdmin!
1)Базу создал
2)Изменения в wp-config сделал,
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 ) ) < ?>
I’ve seen this question answered many times, but most end either unanswered or by telling the asker to put this:
in a test file. Obviously, if that produced what was expected, I wouldn’t be here. Instead, I get a 404 error.
I’m using an ubuntu 12.04 server with Amazon. Apache is installed, php5 is installed, and apache was restarted. I followed the following sequence:
Each one of the first three commands now gives me «apache2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded» Obviously, replace apache2 with php5 and libapache2-mod-php5 for the other two.
This is a sure way to tell me it’s installed, correct? Well, when I use the command «top», php is not one of the services that are running, which tells me it’s not running, correct?
Navigating to the IP address gives me Amazon’s «It Works!» page, but navigating to any other page on the server produces a 404 error.
I installed WordPress, php7.0 and apache2. I also installed the php7.0 module for apache and it is enabled.
I can create a php file (named phpinfo.php) with content , and can see the correct output when I open http://localhost/phpinfo.php .
My problem is when I try to open http://localhost/blog/wp-admin/install.php , it says:
and shows the whole installation page without the interpreted php.
Does somebody know what the cause of that is, or even better, how I can fix it?